summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-03-10 13:19:51 +0000
committerOlivier Blin <oblin@mandriva.org>2005-03-10 13:19:51 +0000
commitee37fa44cfc585d0cbd287e23d315894d7198115 (patch)
treebd8d136d5d9af293f95589de8b23375e56a52dd2
parentf82b21e51d9a86f2857a47f05003ea02b305bf39 (diff)
downloaddrakx-ee37fa44cfc585d0cbd287e23d315894d7198115.tar
drakx-ee37fa44cfc585d0cbd287e23d315894d7198115.tar.gz
drakx-ee37fa44cfc585d0cbd287e23d315894d7198115.tar.bz2
drakx-ee37fa44cfc585d0cbd287e23d315894d7198115.tar.xz
drakx-ee37fa44cfc585d0cbd287e23d315894d7198115.zip
do not copy debug shell on floppy disks
-rwxr-xr-xmake_boot_img2
1 files changed, 1 insertions, 1 deletions
diff --git a/make_boot_img b/make_boot_img
index 767bd8eeb..364c3fb08 100755
--- a/make_boot_img
+++ b/make_boot_img
@@ -195,7 +195,7 @@ sub initrd {
_ "$sudo cp -f $modz/${type}_modules.mar $mnt/modules/modules$I.mar";
}
_ "$sudo cp -f $modz/modules.dep $mnt/modules/";
- _ "$sudo cp -f /sbin/sash $mnt/tmp/sh" if $ENV{DEBUGSTAGE1};
+ _ "$sudo cp -f /sbin/sash $mnt/tmp/sh" if $type eq 'all' && $ENV{DEBUGSTAGE1};
_ "$sudo umount $mnt";
# Workaround for vfat-loop bug (quite touchy)