From 33819e3d926f25795fedc78d288e2d5792bcfdae Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Wed, 6 Mar 2019 19:28:25 +0200 Subject: [PATCH] make_rootfs.sh: Support building ubuntu with KDE Support option kde for building Ubuntu 18.04.2 image for A64-Teres with kde-plasma-desktop. This image uses the same repositories as bionic. Signed-off-by: Leon Anavi --- SOFTWARE/A64-TERES/scripts/make_rootfs.sh | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/SOFTWARE/A64-TERES/scripts/make_rootfs.sh b/SOFTWARE/A64-TERES/scripts/make_rootfs.sh index 85918ada..f8767288 100755 --- a/SOFTWARE/A64-TERES/scripts/make_rootfs.sh +++ b/SOFTWARE/A64-TERES/scripts/make_rootfs.sh @@ -77,7 +77,7 @@ case $DISTRO in xenial) ROOTFS="http://cdimage.ubuntu.com/ubuntu-base/releases/16.04.2/release/ubuntu-base-16.04.2-base-arm64.tar.gz" ;; - bionic) + bionic|kde) ROOTFS="http://cdimage.ubuntu.com/ubuntu-base/releases/18.04.2/release/ubuntu-base-18.04-base-arm64.tar.gz" ;; sid|jessie) @@ -238,6 +238,10 @@ EOF add_ubuntu_apt_sources() { local release="$1" + # Use Ubuntu 18.04 bionic repositories for KDE image + if [ "$release" = "kde" ]; then + release="bionic" + fi cat > "$DEST/etc/apt/sources.list" <