summaryrefslogtreecommitdiff
path: root/cross/build-rootfs.sh
diff options
context:
space:
mode:
authorSaeHie Park <saehie.park@gmail.com>2016-09-15 03:00:54 +0900
committerJan Vorlicek <janvorli@microsoft.com>2016-09-14 20:00:54 +0200
commitd5acaa816698ce80cc8f234b88a4b13199b2296e (patch)
treeb4ad2f6de00d3b776add2a2312e3334f0aa9b053 /cross/build-rootfs.sh
parent4436701ea538c5ce15861eed3ee9ed57528ce032 (diff)
downloadcoreclr-d5acaa816698ce80cc8f234b88a4b13199b2296e.tar.gz
coreclr-d5acaa816698ce80cc8f234b88a4b13199b2296e.tar.bz2
coreclr-d5acaa816698ce80cc8f234b88a4b13199b2296e.zip
ARM/Linux: Add codename xenial (#7158)
Add Ubuntu 16.04 code name Xenial to cross rootfs option
Diffstat (limited to 'cross/build-rootfs.sh')
-rwxr-xr-xcross/build-rootfs.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/cross/build-rootfs.sh b/cross/build-rootfs.sh
index 3fbb112b6e..897f0b25cd 100755
--- a/cross/build-rootfs.sh
+++ b/cross/build-rootfs.sh
@@ -4,7 +4,7 @@ usage()
{
echo "Usage: $0 [BuildArch] [UbuntuCodeName]"
echo "BuildArch can be: arm, arm-softfp, arm64"
- echo "UbuntuCodeName - optional, Code name for Ubuntu, can be: trusty(default), vivid, wily. If BuildArch is arm-softfp, UbuntuCodeName is ignored."
+ echo "UbuntuCodeName - optional, Code name for Ubuntu, can be: trusty(default), vivid, wily, xenial. If BuildArch is arm-softfp, UbuntuCodeName is ignored."
exit 1
}
@@ -61,6 +61,11 @@ for i in "$@"
__UbuntuCodeName=wily
fi
;;
+ xenial)
+ if [ "$__UbuntuCodeName" != "jessie" ]; then
+ __UbuntuCodeName=xenial
+ fi
+ ;;
jessie)
__UbuntuCodeName=jessie
__UbuntuRepo="http://ftp.debian.org/debian/"