dist/debian: support Ubuntu 18.04
We supported Ubuntu 18.04 on scylla-server, need to support on jmx/tools too. Signed-off-by: Takuya ASADA <syuu@scylladb.com> Message-Id: <1521189263-17592-1-git-send-email-syuu@scylladb.com>
This commit is contained in:
parent
f6f03172f1
commit
3c3d7ba8a7
2
dist/debian/build_deb.sh
vendored
2
dist/debian/build_deb.sh
vendored
@ -100,7 +100,7 @@ cp dist/debian/rules.in debian/rules
|
||||
sed -i -e "s/@@VERSION@@/$SCYLLA_VERSION/g" debian/changelog
|
||||
sed -i -e "s/@@RELEASE@@/$SCYLLA_RELEASE/g" debian/changelog
|
||||
sed -i -e "s/@@CODENAME@@/$TARGET/g" debian/changelog
|
||||
if [ "$TARGET" = "trusty" ] || [ "$TARGET" = "xenial" ] || [ "$TARGET" = "yakkety" ] || [ "$TARGET" = "zesty" ] || [ "$TARGET" = "artful" ]; then
|
||||
if [ "$TARGET" = "trusty" ] || [ "$TARGET" = "xenial" ] || [ "$TARGET" = "yakkety" ] || [ "$TARGET" = "zesty" ] || [ "$TARGET" = "artful" ] || [ "$TARGET" = "bionic" ]; then
|
||||
sed -i -e "s/@@REVISION@@/0ubuntu1~$TARGET/g" debian/changelog
|
||||
else
|
||||
sed -i -e "s/@@REVISION@@/1~$TARGET/g" debian/changelog
|
||||
|
2
dist/debian/pbuilderrc
vendored
2
dist/debian/pbuilderrc
vendored
@ -6,7 +6,7 @@ BUILDRESULT="/var/cache/pbuilder/scylla-jmx-$DIST/result/"
|
||||
APTCACHE="/var/cache/pbuilder/scylla-jmx-$DIST/aptcache/"
|
||||
ALLOWUNTRUSTED=yes
|
||||
|
||||
if [ "$DIST" = "trusty" ] || [ "$DIST" = "xenial" ] || [ "$DIST" = "yakkety" ] || [ "$DIST" = "zesty" ] || [ "$DIST" = "artful" ]; then
|
||||
if [ "$DIST" = "trusty" ] || [ "$DIST" = "xenial" ] || [ "$DIST" = "yakkety" ] || [ "$DIST" = "zesty" ] || [ "$DIST" = "artful" ] || [ "$DIST" = "bionic" ]; then
|
||||
MIRRORSITE="http://archive.ubuntu.com/ubuntu/"
|
||||
COMPONENTS="main restricted universe multiverse"
|
||||
DEBOOTSTRAPOPTS="--keyring=/usr/share/keyrings/ubuntu-archive-keyring.gpg"
|
||||
|
Loading…
Reference in New Issue
Block a user