From 988bdd427d963e255e75eb19fba0af98a4ea99cd Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 1 May 2010 12:08:48 +0200 Subject: Merging casper 1.201. --- debian/live-initramfs.init | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'debian') diff --git a/debian/live-initramfs.init b/debian/live-initramfs.init index 618607c..92e42b3 100644 --- a/debian/live-initramfs.init +++ b/debian/live-initramfs.init @@ -116,6 +116,21 @@ do_stop () return 0 fi + # Don't prompt to eject the SD card on Babbage board, where we reuse it + # as a quasi-boot-floppy. Technically this uses a bit of ubiquity + # (archdetect), but since this is mostly only relevant for + # installations, who cares ... + if type archdetect >/dev/null 2>&1 + then + subarch="$(archdetect)" + + case $subarch in + arm*/imx51) + return 0 + ;; + esac + fi + prompt=1 if grep -qs noprompt /proc/cmdline then -- cgit v1.2.3