diff --git a/README b/README index 31d3b48..7078cd9 100644 --- a/README +++ b/README @@ -36,6 +36,7 @@ Optional: precise-armel (12.04) (armv7-a) precise-armhf (12.04) (armv7-a) quantal (12.10) (armv7-a) + raring (13.04) (armv7-a) --addon pico diff --git a/lib/distro.conf b/lib/distro.conf index 6e8eeaa..2e4234a 100755 --- a/lib/distro.conf +++ b/lib/distro.conf @@ -40,6 +40,16 @@ quantal-armhf-netboot) UBOOTWRAPPER=1 NETINSTALL="uInitrd" ;; +raring-armhf-netboot) + #14-Mar-2013 + #http://ports.ubuntu.com/dists/raring/main/installer-armhf/ + NETIMAGE="20101020ubuntu222" + TEST_MD5SUM="ac1f1575fe0ab621311f4c359a1dfd54" + HTTP_IMAGE="http://ports.ubuntu.com/ubuntu-ports/dists" + BASE_IMAGE="omap/netboot" + UBOOTWRAPPER=1 + NETINSTALL="uInitrd" + ;; squeeze-armel-netboot) #26-Sep-2012: 6.0.4+b2 #http://ftp.us.debian.org/debian/dists/squeeze/main/installer-armel/ diff --git a/lib/raring-preseed.cfg b/lib/raring-preseed.cfg new file mode 100644 index 0000000..f993cb0 --- /dev/null +++ b/lib/raring-preseed.cfg @@ -0,0 +1,74 @@ +### 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 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 ; + diff --git a/mk_mmc.sh b/mk_mmc.sh index 8b9bcd3..cafa790 100755 --- a/mk_mmc.sh +++ b/mk_mmc.sh @@ -953,7 +953,7 @@ function initrd_preseed_settings { echo "NetInstall: Adding Distro Tweaks and Preseed Configuration" cd ${TEMPDIR}/initrd-tree/ case "${DIST}" in - oneiric|precise|quantal) + oneiric|precise|quantal|raring) cp -v "${DIR}/lib/ubuntu-finish.sh" ${TEMPDIR}/initrd-tree/etc/finish-install.sh flash_kernel flash_kernel_base_installer @@ -1675,6 +1675,12 @@ function check_distro { fki_vmlinuz="vmlinuz-" fki_initrd="initrd.img-" ;; + raring|raring-armhf) + DIST="raring" + ARCH="armhf" + fki_vmlinuz="vmlinuz-" + fki_initrd="initrd.img-" + ;; squeeze) DIST="squeeze" ;; @@ -1702,6 +1708,7 @@ function check_distro { precise-armel (12.04) (armv7-a) precise-armhf (12.04) (armv7-a) quantal (12.10) (armv7-a) + raring (13.04) (armv7-a) ----------------------------- __EOF__ exit @@ -1746,6 +1753,7 @@ function usage { precise-armel (12.04) (armv7-a) precise-armhf (12.04) (armv7-a) quantal (12.10) (armv7-a) + raring (13.04) (armv7-a) --addon pico