diff options
| author | Daniel Baumann <daniel@debian.org> | 2010-05-01 12:08:48 +0200 |
|---|---|---|
| committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 17:48:08 +0100 |
| commit | 988bdd427d963e255e75eb19fba0af98a4ea99cd (patch) | |
| tree | b5c7307e93cb15a2fa110d12df322b864867e9c9 /debian | |
| parent | 5de2aaf4b04a2a6cad4914a18636df5f5d4f6741 (diff) | |
| download | live-boot-988bdd427d963e255e75eb19fba0af98a4ea99cd.tar.gz live-boot-988bdd427d963e255e75eb19fba0af98a4ea99cd.zip | |
Merging casper 1.201.
Diffstat (limited to 'debian')
| -rw-r--r-- | debian/live-initramfs.init | 15 |
1 files changed, 15 insertions, 0 deletions
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 |
