summaryrefslogtreecommitdiffstats
path: root/make_boot_img
diff options
context:
space:
mode:
Diffstat (limited to 'make_boot_img')
-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)