From 65738abb2a9270352c58265996d976687717881d Mon Sep 17 00:00:00 2001 From: Robert Nelson Date: Mon, 6 Jan 2020 11:26:26 -0600 Subject: [PATCH] ubuntu bionic 18.04 lts Signed-off-by: Robert Nelson --- README | 2 +- lib/{zesty-preseed.cfg => bionic-preseed.cfg} | 2 +- lib/distro.conf | 9 +++++++++ mk_mmc.sh | 17 +++++++++++------ 4 files changed, 22 insertions(+), 8 deletions(-) rename lib/{zesty-preseed.cfg => bionic-preseed.cfg} (99%) diff --git a/README b/README index 3daabdf..8d8ca00 100644 --- a/README +++ b/README @@ -38,7 +38,7 @@ Optional: stretch (Debian 9) Ubuntu: xenial (16.04 LTS) - zesty (17.04) + bionic (18.04 LTS) --firmware diff --git a/lib/zesty-preseed.cfg b/lib/bionic-preseed.cfg similarity index 99% rename from lib/zesty-preseed.cfg rename to lib/bionic-preseed.cfg index bc7a2b2..65c0594 100644 --- a/lib/zesty-preseed.cfg +++ b/lib/bionic-preseed.cfg @@ -33,7 +33,7 @@ d-i base-installer/kernel/image select none # sources.list line will be left commented out #d-i apt-setup/local0/key string http://local.server/key -d-i apt-setup/local0/repository string deb http://repos.rcn-ee.com/ubuntu/ zesty main +d-i apt-setup/local0/repository string deb http://repos.rcn-ee.com/ubuntu/ bionic main #apt-cacher-ng allows "custom.gpg" d-i apt-setup/local0/key string http://repos.rcn-ee.com/ubuntu/conf/custom.gpg diff --git a/lib/distro.conf b/lib/distro.conf index 52ef0f7..7ef6357 100755 --- a/lib/distro.conf +++ b/lib/distro.conf @@ -20,6 +20,15 @@ xenial-armhf-netboot) BASE_IMAGE="generic/netboot" NETINSTALL="initrd.gz" ;; +bionic-armhf-netboot) + #2018-04-25 + #http://ports.ubuntu.com/dists/bionic/main/installer-armhf/ + NETIMAGE="20101020ubuntu543" + TEST_MD5SUM="358cbf828db6322a56c448222d1847ce" + HTTP_IMAGE="http://ports.ubuntu.com/ubuntu-ports/dists" + BASE_IMAGE="generic/netboot" + NETINSTALL="initrd.gz" + ;; jessie-armhf-netboot) #2018-06-19 #http://ftp.us.debian.org/debian/dists/jessie/main/installer-armhf/ diff --git a/mk_mmc.sh b/mk_mmc.sh index 74ceefa..f0ca15c 100755 --- a/mk_mmc.sh +++ b/mk_mmc.sh @@ -214,6 +214,10 @@ dl_kernel_image () { kernel_repo="LTS414" kernel_selected="true" fi + if [ "x${cmd_LTS419_KERNEL}" = "xenable" ] ; then + kernel_repo="LTS419" + kernel_selected="true" + fi if [ "x${cmd_STABLE_KERNEL}" = "xenable" ] && [ "x${kernel_selected}" = "x" ] ; then kernel_repo="STABLE" kernel_selected="true" @@ -238,6 +242,7 @@ dl_kernel_image () { echo "LTS44: --use-lts-4_4-kernel" echo "LTS49: --use-lts-4_9-kernel" echo "LTS414: --use-lts-4_14-kernel" + echo "LTS419: --use-lts-4_19-kernel" echo "STABLE: --use-stable-kernel" echo "TESTING: --use-testing-kernel" echo "EXPERIMENTAL: --use-experimental-kernel" @@ -570,7 +575,7 @@ initrd_cleanup () { echo "NetInstall: Final size [$(du -ch ${TEMPDIR}/initrd-tree/ | grep total)]" case "${DIST}" in - xenial|zesty|jessie|stretch) + xenial|bionic|jessie|stretch) echo "uncompressing modules..." find "${TEMPDIR}"/initrd-tree/lib/modules/ -type f -name "*.xz" -exec unxz -d {} \; echo "NetInstall: Final size [$(du -ch ${TEMPDIR}/initrd-tree/ | grep total)]" @@ -1432,8 +1437,8 @@ check_distro () { DIST="xenial" deb_distribution="ubuntu" ;; - zesty|zesty-armhf) - DIST="zesty" + bionic|bionic-armhf) + DIST="bionic" deb_distribution="ubuntu" ;; jessie|jessie-armhf) @@ -1456,8 +1461,8 @@ check_distro () { jessie (Debian 8) stretch (Debian 9) Ubuntu: - xenial (16.04) - zesty (17.04) + xenial (16.04 LTS) + bionic (18.04 LTS) ----------------------------- __EOF__ exit @@ -1506,7 +1511,7 @@ usage () { stretch (Debian 9) Ubuntu: xenial (16.04 LTS) - zesty (17.04) + bionic (18.04 LTS) --firmware