From de902011018b09a9382f595f8ddba76423fdd379 Mon Sep 17 00:00:00 2001 From: Steven Ayre Date: Fri, 21 Nov 2014 01:28:38 +0000 Subject: [PATCH] FS-7019 full list of distributions to target based on distribution autodetection --- debian/util.sh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/debian/util.sh b/debian/util.sh index a7cb4dc400..3e42ab90e9 100755 --- a/debian/util.sh +++ b/debian/util.sh @@ -385,7 +385,16 @@ build_all () { done shift $(($OPTIND-1)) [ -n "$archs" ] || archs="amd64 i386" - [ -n "$distros" ] || distros="sid jessie wheezy" + if [ -z "$distros" ]; then + case "$(lsb_release -is)" in + Ubuntu) + distros="utopic trusty" + ;; + *) # default to assuming Debian + distros="sid jessie wheezy" + ;; + esac + fi ! $depinst || aptitude install -y \ rsync git less cowbuilder ccache \ devscripts equivs build-essential