X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=debian%2Flive-initramfs.init;h=92e42b35cbce86367735c45094126915a6769531;hb=988bdd427d963e255e75eb19fba0af98a4ea99cd;hp=618607c1dd76f66b752e706fbd617770118e98a8;hpb=0f06da3a79f917f1bb5e43b386fb908f8029fd4b;p=live-boot-grml.git 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