distro: add early alpha support for quantal-armhf

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
pull/8/head
Robert Nelson 13 years ago
parent 077a1a8857
commit 26998ac831

@ -24,12 +24,14 @@ Optional:
Debian: Debian:
squeeze <default> squeeze <default>
wheezy-armel <alpha quailty, serial-mode only> wheezy-armel <alpha quailty, serial-mode only>
wheezy-armhf <alpha quailty, serial-mode only>
Ubuntu Ubuntu
maverick (10.10 - End Of Life: April 2012) maverick (10.10 - End Of Life: April 2012)
natty (11.04 - End Of Life: October 2012) natty (11.04 - End Of Life: October 2012)
oneiric (11.10 - End Of Life: April 2013) oneiric (11.10 - End Of Life: April 2013)
precise-armel (12.04) precise-armel (12.04)
precise-armhf (12.04) precise-armhf (12.04)
quantal-armhf (12.10 <alpha>)
--addon <additional peripheral device> --addon <additional peripheral device>
pico pico

@ -75,6 +75,11 @@ PRECISE_ARMEL_MD5SUM="8e1f3d4a0df6bcf816f516e2226ba7f3"
PRECISE_ARMHF_NETIMAGE="20101020ubuntu136" PRECISE_ARMHF_NETIMAGE="20101020ubuntu136"
PRECISE_ARMHF_MD5SUM="2b8a00ada904f3b2b72f3d92ccbaa830" PRECISE_ARMHF_MD5SUM="2b8a00ada904f3b2b72f3d92ccbaa830"
#04-May-2012
#http://ports.ubuntu.com/dists/quantal/main/installer-armhf/
QUANTAL_ARMHF_NETIMAGE="20101020ubuntu139"
QUANTAL_ARMHF_MD5SUM="5d09d588701063792d31e901175c8c4e"
#22-Jan-2012: 6.0.4 #22-Jan-2012: 6.0.4
#http://ftp.us.debian.org/debian/dists/squeeze/main/installer-armel/ #http://ftp.us.debian.org/debian/dists/squeeze/main/installer-armel/
SQUEEZE_NETIMAGE="20110106+squeeze4" SQUEEZE_NETIMAGE="20110106+squeeze4"
@ -341,6 +346,14 @@ function dl_netinstall_image {
UBOOTWRAPPER=1 UBOOTWRAPPER=1
NETINSTALL="uInitrd" NETINSTALL="uInitrd"
;; ;;
quantal-armhf)
TEST_MD5SUM="${QUANTAL_ARMHF_MD5SUM}"
NETIMAGE="${QUANTAL_ARMHF_NETIMAGE}"
HTTP_IMAGE="http://ports.ubuntu.com/ubuntu-ports/dists"
BASE_IMAGE="omap/netboot"
UBOOTWRAPPER=1
NETINSTALL="uInitrd"
;;
squeeze-armel) squeeze-armel)
TEST_MD5SUM=$SQUEEZE_MD5SUM TEST_MD5SUM=$SQUEEZE_MD5SUM
NETIMAGE=$SQUEEZE_NETIMAGE NETIMAGE=$SQUEEZE_NETIMAGE
@ -861,7 +874,7 @@ function initrd_preseed_settings {
oneiric) oneiric)
patch -p1 < "${DIR}/scripts/ubuntu-tweaks.diff" patch -p1 < "${DIR}/scripts/ubuntu-tweaks.diff"
;; ;;
precise) precise|quantal)
patch -p1 < "${DIR}/scripts/ubuntu-tweaks.diff" patch -p1 < "${DIR}/scripts/ubuntu-tweaks.diff"
;; ;;
squeeze|wheezy) squeeze|wheezy)
@ -892,13 +905,13 @@ function initrd_preseed_settings {
cp -v "${DIR}/scripts/${DIST}-preseed.cfg" ${TEMPDIR}/initrd-tree/preseed.cfg cp -v "${DIR}/scripts/${DIST}-preseed.cfg" ${TEMPDIR}/initrd-tree/preseed.cfg
cp -v "${DIR}/scripts/ubuntu-finish.sh" ${TEMPDIR}/initrd-tree/etc/finish-install.sh cp -v "${DIR}/scripts/ubuntu-finish.sh" ${TEMPDIR}/initrd-tree/etc/finish-install.sh
;; ;;
precise) precise|quantal)
cp -v "${DIR}/scripts/flash-kernel.conf" ${TEMPDIR}/initrd-tree/etc/flash-kernel.conf cp -v "${DIR}/scripts/flash-kernel.conf" ${TEMPDIR}/initrd-tree/etc/flash-kernel.conf
cp -v "${DIR}/scripts/serial.conf" ${TEMPDIR}/initrd-tree/etc/${SERIAL}.conf cp -v "${DIR}/scripts/serial.conf" ${TEMPDIR}/initrd-tree/etc/${SERIAL}.conf
chmod a+x ${TEMPDIR}/initrd-tree/usr/lib/finish-install.d/08rcn-ee-finish-installing-device chmod a+x ${TEMPDIR}/initrd-tree/usr/lib/finish-install.d/08rcn-ee-finish-installing-device
cp -v "${DIR}/scripts/${DIST}-preseed.cfg" ${TEMPDIR}/initrd-tree/preseed.cfg cp -v "${DIR}/scripts/${DIST}-preseed.cfg" ${TEMPDIR}/initrd-tree/preseed.cfg
cp -v "${DIR}/scripts/ubuntu-finish.sh" ${TEMPDIR}/initrd-tree/etc/finish-install.sh cp -v "${DIR}/scripts/ubuntu-finish.sh" ${TEMPDIR}/initrd-tree/etc/finish-install.sh
;; ;;
squeeze) squeeze)
cp -v "${DIR}/scripts/e2fsck.conf" ${TEMPDIR}/initrd-tree/etc/e2fsck.conf cp -v "${DIR}/scripts/e2fsck.conf" ${TEMPDIR}/initrd-tree/etc/e2fsck.conf
chmod a+x ${TEMPDIR}/initrd-tree/usr/lib/finish-install.d/08rcn-ee-finish-installing-device chmod a+x ${TEMPDIR}/initrd-tree/usr/lib/finish-install.d/08rcn-ee-finish-installing-device
@ -1654,6 +1667,10 @@ function check_distro {
DIST=precise DIST=precise
ARCH=armhf ARCH=armhf
;; ;;
quantal-armhf)
DIST="quantal"
ARCH="armhf"
;;
squeeze) squeeze)
DIST=squeeze DIST=squeeze
ARCH=armel ARCH=armel
@ -1716,6 +1733,7 @@ Optional:
oneiric (11.10 - End Of Life: April 2013) oneiric (11.10 - End Of Life: April 2013)
precise-armel (12.04) precise-armel (12.04)
precise-armhf (12.04) precise-armhf (12.04)
quantal-armhf (12.10 <alpha>)
--addon <additional peripheral device> --addon <additional peripheral device>
pico pico

@ -0,0 +1,36 @@
### 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
# 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
# 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
# Controls whether to use NTP to set the clock during the install
d-i clock-setup/ntp boolean true
# 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