diff --git a/README b/README index 9a0e5c1..8fbc74e 100644 --- a/README +++ b/README @@ -40,6 +40,7 @@ Optional: quantal (12.10) (armv7-a) (EOL: April 2014) raring (13.04) (armv7-a) (EOL: January 2014) saucy (13.10) (armv7-a) (EOL: July 2014) + trusty (14.04) (armv7-a) (EOL: xyz 20xy) --firmware diff --git a/lib/distro.conf b/lib/distro.conf index c2ea7b4..7b2f290 100755 --- a/lib/distro.conf +++ b/lib/distro.conf @@ -51,6 +51,15 @@ saucy-armhf-netboot) UBOOTWRAPPER=1 NETINSTALL="uInitrd" ;; +trusty-armhf-netboot) + #05-Apr-2014 + #http://ports.ubuntu.com/dists/trusty/main/installer-armhf/ + NETIMAGE="20101020ubuntu313" + TEST_MD5SUM="541db195534556430ce8446ab66068f4" + HTTP_IMAGE="http://ports.ubuntu.com/ubuntu-ports/dists" + BASE_IMAGE="generic/netboot" + NETINSTALL="initrd.gz" + ;; wheezy-armel-netboot) #1-May-2013 #http://ftp.us.debian.org/debian/dists/wheezy/main/installer-armel/ diff --git a/lib/trusty-preseed.cfg b/lib/trusty-preseed.cfg new file mode 100644 index 0000000..777c73a --- /dev/null +++ b/lib/trusty-preseed.cfg @@ -0,0 +1,67 @@ +### 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 + +### Partitioning +## Partitioning example +# If the system has free space you can choose to only partition that space. +# This is only honoured if partman-auto/method (below) is not set. +d-i partman-auto/init_automatically_partition select biggest_free + +# Alternatively, you may specify a disk to partition. If the system has only +# one disk the installer will default to using that, but otherwise the device +# name must be given in traditional, non-devfs format (so e.g. /dev/hda or +# /dev/sda, and not e.g. /dev/discs/disc0/disc). +# For example, to use the first SCSI/SATA hard disk: +d-i partman-auto/disk string /dev/mmcblk0 + +# Or provide a recipe of your own... +# If you have a way to get a recipe file into the d-i environment, you can +# just point at it. +d-i partman-auto/expert_recipe_file string /partition_recipe + +# Individual additional packages to install +d-i pkgsel/include string bash devmem2 fbset initramfs-tools ntpdate parted pastebinit util-linux u-boot-tools wget + +# 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 + diff --git a/mk_mmc.sh b/mk_mmc.sh index ba74214..e7daf29 100755 --- a/mk_mmc.sh +++ b/mk_mmc.sh @@ -734,6 +734,10 @@ flash_kernel_base_installer () { #z = gzip (busybox tar) tar -xzv -f /target/boot/uboot/\$(uname -r)-modules.tar.gz -C /target/lib/modules/\$(uname -r) + #need by Ubuntu Trusty (flash-kernel) + mkdir -p /lib/firmware/\$(uname -r)/device-tree/ + tar -xzv -f /target/boot/uboot/\$(uname -r)-dtbs.tar.gz -C /lib/firmware/\$(uname -r)/device-tree/ + mount -o bind /sys /target/sys cat /proc/mounts > /target/mounts @@ -904,7 +908,7 @@ initrd_preseed_settings () { cp -v "${DIR}/lib/flash_kernel/flash-kernel.conf" ${TEMPDIR}/initrd-tree/etc/flash-kernel.conf flash_kernel_base_installer ;; - raring|saucy) + raring|saucy|trusty) cp -v "${DIR}/lib/ubuntu-finish.sh" ${TEMPDIR}/initrd-tree/usr/bin/finish-install.sh cp -v "${DIR}/lib/flash_kernel/flash-kernel.conf" ${TEMPDIR}/initrd-tree/etc/flash-kernel.conf flash_kernel_base_installer @@ -1512,6 +1516,9 @@ check_distro () { saucy|saucy-armhf) DIST="saucy" ;; + trusty|trusty-armhf) + DIST="trusty" + ;; wheezy-armel) DIST="wheezy" ARCH="armel" @@ -1540,6 +1547,7 @@ check_distro () { quantal (12.10) (armv7-a) raring (13.04) (armv7-a) saucy (13.10) (armv7-a) + trusty (14.04) (armv7-a) (beta) ----------------------------- __EOF__ exit @@ -1590,6 +1598,7 @@ usage () { quantal (12.10) (armv7-a) raring (13.04) (armv7-a) saucy (13.10) (armv7-a) + trusty (14.04) (armv7-a) (beta) --firmware