distro: drop natty (Ubuntu 11.04) went EOL October 28, 2012

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
pull/10/merge
Robert Nelson 12 years ago
parent 1c2081f552
commit a07f6e281a

@ -30,7 +30,6 @@ Optional:
wheezy-armel <beta: may fail during install> (armv4)
wheezy-armhf <beta: may fail during install> (armv7-a)
Ubuntu:
natty (11.04 - End Of Life: October 2012) (armv7-a)
oneiric (11.10 - End Of Life: April 2013) (armv7-a)
precise-armel (12.04) (armv7-a)
precise-armhf (12.04) (armv7-a)

@ -51,11 +51,6 @@ DIST=squeeze
ARCH=armel
DISTARCH="${DIST}-${ARCH}"
#21-Apr-2011
#http://ports.ubuntu.com/dists/natty/main/installer-armel/
NATTY_NETIMAGE="current"
NATTY_MD5SUM="a88f348be5c94873be0d67a9ce8e485e"
#08-Oct-2011
#http://ports.ubuntu.com/dists/oneiric/main/installer-armel/
ONEIRIC_NETIMAGE="current"
@ -368,13 +363,6 @@ function dl_netinstall_image {
unset UBOOTWRAPPER
case "${DISTARCH}" in
natty-armel)
TEST_MD5SUM=$NATTY_MD5SUM
NETIMAGE=$NATTY_NETIMAGE
HTTP_IMAGE="http://ports.ubuntu.com/ubuntu-ports/dists"
BASE_IMAGE="versatile/netboot"
NETINSTALL="initrd.gz"
;;
oneiric-armel)
TEST_MD5SUM=$ONEIRIC_MD5SUM
NETIMAGE=$ONEIRIC_NETIMAGE
@ -1005,7 +993,7 @@ function flash_kernel {
DIST=\$(lsb_release -cs)
case "\${DIST}" in
natty|oneiric|precise|quantal|raring)
oneiric|precise|quantal|raring)
FLASH_KERNEL_SKIP=yes
;;
esac
@ -1079,7 +1067,7 @@ function initrd_preseed_settings {
echo "NetInstall: Adding Distro Tweaks and Preseed Configuration"
cd ${TEMPDIR}/initrd-tree/
case "${DIST}" in
natty|oneiric|precise|quantal)
oneiric|precise|quantal)
cp -v "${DIR}/scripts/ubuntu-finish.sh" ${TEMPDIR}/initrd-tree/etc/finish-install.sh
flash_kernel
flash_kernel_base_installer
@ -1791,9 +1779,6 @@ function check_distro {
fki_initrd="initrd.img"
case "${DISTRO_TYPE}" in
natty)
DIST="natty"
;;
oneiric)
DIST="oneiric"
;;
@ -1838,7 +1823,6 @@ function check_distro {
wheezy-armel <beta: may fail during install> (armv4)
wheezy-armhf <beta: may fail during install> (armv7-a)
Ubuntu:
natty (11.04 - End Of Life: October 2012) (armv7-a)
oneiric (11.10 - End Of Life: April 2013) (armv7-a)
precise-armel (12.04) (armv7-a)
precise-armhf (12.04) (armv7-a)
@ -1885,7 +1869,6 @@ function usage {
wheezy-armel <beta: may fail during install> (armv4)
wheezy-armhf <beta: may fail during install> (armv7-a)
Ubuntu:
natty (11.04 - End Of Life: October 2012) (armv7-a)
oneiric (11.10 - End Of Life: April 2013) (armv7-a)
precise-armel (12.04) (armv7-a)
precise-armhf (12.04) (armv7-a)

@ -1,56 +0,0 @@
### Apt setup
# You can choose to install non-free and contrib software.
#d-i apt-setup/non-free boolean true
#d-i apt-setup/contrib boolean true
# Keyboard selection.
# Disable automatic (interactive) keymap detection.
d-i console-setup/ask_detect boolean false
# If you select ftp, the mirror/country string does not need to be set.
#d-i mirror/protocol string ftp
d-i mirror/country string manual
d-i mirror/http/hostname string ports.ubuntu.com
d-i mirror/http/directory string /ubuntu-ports
#Removes the prompt about missing modules:
# Continue without installing a kernel?
d-i base-installer/kernel/skip-install boolean true
# Continue the install without loading kernel modules?
d-i anna/no_kernel_modules boolean true
# Stop Ubuntu from installing random kernel choice
d-i base-installer/kernel/image select none
# Controls whether to use NTP to set the clock during the install
d-i clock-setup/ntp boolean true
# NTP server to use. The default is almost always fine here.
d-i clock-setup/ntp-server string pool.ntp.org
# Individual additional packages to install
d-i pkgsel/include string u-boot-tools pastebinit initramfs-tools wget linux-firmware linux-firmware-nonfree ntpdate bash devmem2 fbset
# Whether to upgrade packages after debootstrap.
# Allowed values: none, safe-upgrade, full-upgrade
d-i pkgsel/upgrade select safe-upgrade
# Policy for applying updates. May be "none" (no automatic updates),
# "unattended-upgrades" (install security updates automatically), or
# "landscape" (manage system with Landscape).
d-i pkgsel/update-policy select none
# During installations from serial console, the regular virtual consoles
# (VT1-VT6) are normally disabled in /etc/inittab. Uncomment the next
# line to prevent this.
d-i finish-install/keep-consoles boolean true
# Avoid that last message about the install being complete.
d-i finish-install/reboot_in_progress note
# This command is run just before the install finishes, but when there is
# still a usable /target directory. You can chroot to /target and use it
# directly, or use the apt-install and in-target commands to easily install
# packages and run commands in the target system.
d-i preseed/late_command \
string apt-install parted; in-target /sbin/parted /dev/mmcblk0 set 1 boot on ;
Loading…
Cancel
Save