summaryrefslogtreecommitdiffstats
path: root/images/make_boot_img
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-09-03 18:54:15 +0000
committerThierry Vignaud <tv@mageia.org>2012-09-03 18:54:15 +0000
commit7070a01cc467f3fb0850ea7290375b61cd505fd0 (patch)
tree58eff7fbf426264bac0248f11ebf988d9277045c /images/make_boot_img
parent80ef3aed0370a6cbc7d17c58bb64108a8a0d9e57 (diff)
downloaddrakx-7070a01cc467f3fb0850ea7290375b61cd505fd0.tar
drakx-7070a01cc467f3fb0850ea7290375b61cd505fd0.tar.gz
drakx-7070a01cc467f3fb0850ea7290375b61cd505fd0.tar.bz2
drakx-7070a01cc467f3fb0850ea7290375b61cd505fd0.tar.xz
drakx-7070a01cc467f3fb0850ea7290375b61cd505fd0.zip
fix creating some directories
Diffstat (limited to 'images/make_boot_img')
-rwxr-xr-ximages/make_boot_img2
1 files changed, 1 insertions, 1 deletions
diff --git a/images/make_boot_img b/images/make_boot_img
index 575921a39..8855a552b 100755
--- a/images/make_boot_img
+++ b/images/make_boot_img
@@ -207,9 +207,9 @@ fi
# depmod keeps only available modules in modules.alias, but we want them all
_ "cp -f $modz/modules.alias $modz/modules.description $tmp_initrd/modules/$ext";
}
+ mkdir_p("$tmp_initrd/$_") foreach qw(dev proc sys var/tmp tmp/stage2);
# ka deploy need some files in all.rdz
if ($ENV{DEBUGSTAGE1} || $ENV{BUILD_KA}) {
- mkdir_p("$tmp_initrd/$_") foreach qw(dev proc sys var/tmp tmp/stage2);
symlink("/sbin", "$tmp_initrd/bin");
cp_af("/bin/busybox.static", "$tmp_initrd/sbin/busybox");
my @funct = map { /functions:/ .. /^$/ ? do { s/\s//g; split /,/ } : () } `busybox.static`;