dist/debian: add more versions of Debian/Ubuntu releases
This will add Debian 9(stretch) support, and also non-official support of Debian testing/unstable and Ubuntu non-LTS versions. Signed-off-by: Takuya ASADA <syuu@scylladb.com> Message-Id: <1500501275-8419-1-git-send-email-syuu@scylladb.com>
This commit is contained in:
parent
9147faed36
commit
8c32e4f8a4
8
dist/debian/pbuilderrc
vendored
8
dist/debian/pbuilderrc
vendored
@ -6,18 +6,20 @@ BUILDRESULT="/var/cache/pbuilder/scylla-jmx-$DIST/result/"
|
|||||||
APTCACHE="/var/cache/pbuilder/scylla-jmx-$DIST/aptcache/"
|
APTCACHE="/var/cache/pbuilder/scylla-jmx-$DIST/aptcache/"
|
||||||
ALLOWUNTRUSTED=yes
|
ALLOWUNTRUSTED=yes
|
||||||
|
|
||||||
if [ "$DIST" = "trusty" ] || [ "$DIST" = "xenial" ]; then
|
if [ "$DIST" = "trusty" ] || [ "$DIST" = "xenial" ] || [ "$DIST" = "yakkety" ] || [ "$DIST" = "zesty" ] || [ "$DIST" = "artful" ]; then
|
||||||
MIRRORSITE="http://archive.ubuntu.com/ubuntu/"
|
MIRRORSITE="http://archive.ubuntu.com/ubuntu/"
|
||||||
COMPONENTS="main restricted universe multiverse"
|
COMPONENTS="main restricted universe multiverse"
|
||||||
DEBOOTSTRAPOPTS="--keyring=/usr/share/keyrings/ubuntu-archive-keyring.gpg"
|
DEBOOTSTRAPOPTS="--keyring=/usr/share/keyrings/ubuntu-archive-keyring.gpg"
|
||||||
if [ "$DIST" = "trusty" ]; then
|
if [ "$DIST" = "trusty" ]; then
|
||||||
OTHERMIRROR="deb http://ppa.launchpad.net/openjdk-r/ppa/ubuntu trusty main"
|
OTHERMIRROR="deb http://ppa.launchpad.net/openjdk-r/ppa/ubuntu trusty main"
|
||||||
fi
|
fi
|
||||||
elif [ "$DIST" = "jessie" ]; then
|
elif [ "$DIST" = "jessie" ] || [ "$DIST" = "stretch" ] || [ "$DIST" = "buster" ] || [ "$DIST" = "sid" ]; then
|
||||||
MIRRORSITE="http://ftp.us.debian.org/debian/"
|
MIRRORSITE="http://deb.debian.org/debian/"
|
||||||
COMPONENTS="main contrib non-free"
|
COMPONENTS="main contrib non-free"
|
||||||
DEBOOTSTRAPOPTS="--keyring=/usr/share/keyrings/debian-archive-keyring.gpg"
|
DEBOOTSTRAPOPTS="--keyring=/usr/share/keyrings/debian-archive-keyring.gpg"
|
||||||
|
if [ "$DIST" = "jessie" ]; then
|
||||||
OTHERMIRROR="deb http://httpredir.debian.org/debian jessie-backports main"
|
OTHERMIRROR="deb http://httpredir.debian.org/debian jessie-backports main"
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
echo "Unknown distribution: $DIST"
|
echo "Unknown distribution: $DIST"
|
||||||
exit 1
|
exit 1
|
||||||
|
Loading…
Reference in New Issue
Block a user