ubuntu bionic 18.04 lts

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
master
Robert Nelson 5 years ago
parent 98504f9f1d
commit 65738abb2a

@ -38,7 +38,7 @@ Optional:
stretch (Debian 9) <default> stretch (Debian 9) <default>
Ubuntu: Ubuntu:
xenial (16.04 LTS) xenial (16.04 LTS)
zesty (17.04) bionic (18.04 LTS)
--firmware --firmware
<include all firmwares from linux-firmware git repo> <include all firmwares from linux-firmware git repo>

@ -33,7 +33,7 @@ d-i base-installer/kernel/image select none
# sources.list line will be left commented out # sources.list line will be left commented out
#d-i apt-setup/local0/key string http://local.server/key #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" #apt-cacher-ng allows "custom.gpg"
d-i apt-setup/local0/key string http://repos.rcn-ee.com/ubuntu/conf/custom.gpg d-i apt-setup/local0/key string http://repos.rcn-ee.com/ubuntu/conf/custom.gpg

@ -20,6 +20,15 @@ xenial-armhf-netboot)
BASE_IMAGE="generic/netboot" BASE_IMAGE="generic/netboot"
NETINSTALL="initrd.gz" 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) jessie-armhf-netboot)
#2018-06-19 #2018-06-19
#http://ftp.us.debian.org/debian/dists/jessie/main/installer-armhf/ #http://ftp.us.debian.org/debian/dists/jessie/main/installer-armhf/

@ -214,6 +214,10 @@ dl_kernel_image () {
kernel_repo="LTS414" kernel_repo="LTS414"
kernel_selected="true" kernel_selected="true"
fi 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 if [ "x${cmd_STABLE_KERNEL}" = "xenable" ] && [ "x${kernel_selected}" = "x" ] ; then
kernel_repo="STABLE" kernel_repo="STABLE"
kernel_selected="true" kernel_selected="true"
@ -238,6 +242,7 @@ dl_kernel_image () {
echo "LTS44: --use-lts-4_4-kernel" echo "LTS44: --use-lts-4_4-kernel"
echo "LTS49: --use-lts-4_9-kernel" echo "LTS49: --use-lts-4_9-kernel"
echo "LTS414: --use-lts-4_14-kernel" echo "LTS414: --use-lts-4_14-kernel"
echo "LTS419: --use-lts-4_19-kernel"
echo "STABLE: --use-stable-kernel" echo "STABLE: --use-stable-kernel"
echo "TESTING: --use-testing-kernel" echo "TESTING: --use-testing-kernel"
echo "EXPERIMENTAL: --use-experimental-kernel" echo "EXPERIMENTAL: --use-experimental-kernel"
@ -570,7 +575,7 @@ initrd_cleanup () {
echo "NetInstall: Final size [$(du -ch ${TEMPDIR}/initrd-tree/ | grep total)]" echo "NetInstall: Final size [$(du -ch ${TEMPDIR}/initrd-tree/ | grep total)]"
case "${DIST}" in case "${DIST}" in
xenial|zesty|jessie|stretch) xenial|bionic|jessie|stretch)
echo "uncompressing modules..." echo "uncompressing modules..."
find "${TEMPDIR}"/initrd-tree/lib/modules/ -type f -name "*.xz" -exec unxz -d {} \; find "${TEMPDIR}"/initrd-tree/lib/modules/ -type f -name "*.xz" -exec unxz -d {} \;
echo "NetInstall: Final size [$(du -ch ${TEMPDIR}/initrd-tree/ | grep total)]" echo "NetInstall: Final size [$(du -ch ${TEMPDIR}/initrd-tree/ | grep total)]"
@ -1432,8 +1437,8 @@ check_distro () {
DIST="xenial" DIST="xenial"
deb_distribution="ubuntu" deb_distribution="ubuntu"
;; ;;
zesty|zesty-armhf) bionic|bionic-armhf)
DIST="zesty" DIST="bionic"
deb_distribution="ubuntu" deb_distribution="ubuntu"
;; ;;
jessie|jessie-armhf) jessie|jessie-armhf)
@ -1456,8 +1461,8 @@ check_distro () {
jessie (Debian 8) jessie (Debian 8)
stretch (Debian 9) <default> stretch (Debian 9) <default>
Ubuntu: Ubuntu:
xenial (16.04) xenial (16.04 LTS)
zesty (17.04) bionic (18.04 LTS)
----------------------------- -----------------------------
__EOF__ __EOF__
exit exit
@ -1506,7 +1511,7 @@ usage () {
stretch (Debian 9) <default> stretch (Debian 9) <default>
Ubuntu: Ubuntu:
xenial (16.04 LTS) xenial (16.04 LTS)
zesty (17.04) bionic (18.04 LTS)
--firmware --firmware
<include all firmwares from linux-firmware git repo> <include all firmwares from linux-firmware git repo>

Loading…
Cancel
Save