diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-01-19 22:58:36 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-01-19 22:58:36 +0000 |
commit | 89ad01d2ee129aa03a269d1bee11cf43dba67b57 (patch) | |
tree | 0a1db7fc74bb13368459eddd563f925d518fdc43 /images/make_boot_img | |
parent | 6cb493968a41e68f98234864ca4c0b5980fd8cf2 (diff) | |
download | drakx-89ad01d2ee129aa03a269d1bee11cf43dba67b57.tar drakx-89ad01d2ee129aa03a269d1bee11cf43dba67b57.tar.gz drakx-89ad01d2ee129aa03a269d1bee11cf43dba67b57.tar.bz2 drakx-89ad01d2ee129aa03a269d1bee11cf43dba67b57.tar.xz drakx-89ad01d2ee129aa03a269d1bee11cf43dba67b57.zip |
reduce size of stage1 by removing busybox if not in debug mode
Diffstat (limited to 'images/make_boot_img')
-rwxr-xr-x | images/make_boot_img | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/images/make_boot_img b/images/make_boot_img index b07817994..36aa99389 100755 --- a/images/make_boot_img +++ b/images/make_boot_img @@ -205,7 +205,7 @@ fi _ "cp -f $modz/modules.alias $modz/modules.description $tmp_initrd/modules/$ext"; } # ka deploy need some files in all.rdz - { + if ($ENV{DEBUGSTAGE1}) { mkdir_p("$tmp_initrd/$_") foreach qw(dev ka proc var/tmp tmp/stage2); symlink("/sbin", "$tmp_initrd/bin"); cp_af("/usr/bin/ka-d-client", "$tmp_initrd/ka/ka-d-client"); |