- Support Debian9

- Deprecate Debian7
This commit is contained in:
Jeffrey Townsend
2017-08-24 03:22:53 +00:00
parent ad58617aa7
commit 8d13652eb6

View File

@@ -9,7 +9,7 @@ ONL="$(realpath $(dirname $AUTOBUILD_SCRIPT)/../../)"
# Default build branch
BUILD_BRANCH=master
while getopts ":b:s:d:u:p:vc78r:" opt; do
while getopts ":b:s:d:u:p:vc789r:" opt; do
case $opt in
7)
ONLB_OPTIONS=--7
@@ -23,6 +23,12 @@ while getopts ":b:s:d:u:p:vc78r:" opt; do
echo "Selecting Debian 8 build..."
fi
;;
9)
ONLB_OPTIONS=--9
if [ -z "$DOCKER_IMAGE" ]; then
echo "Selecting Debian 9 build..."
fi
;;
c)
cd $ONL && git submodule update --init --recursive packages/platforms-closed
;;
@@ -41,9 +47,9 @@ while getopts ":b:s:d:u:p:vc78r:" opt; do
done
if [ -z "$ONLB_OPTIONS" ]; then
# Build both suites
$AUTOBUILD_SCRIPT --7 $@
# Build both 8 and 9
$AUTOBUILD_SCRIPT --8 $@
$AUTOBUILD_SCRIPT --9 $@
exit $?
fi