From 0025aed73310e078b45968eb37fe3a2aed474a2c Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 3 Sep 2012 18:54:15 +0000 Subject: fix creating some directories --- images/make_boot_img | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'images/make_boot_img') 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`; -- cgit v1.2.1