diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-09-03 18:54:15 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-09-03 18:54:15 +0000 |
commit | 0025aed73310e078b45968eb37fe3a2aed474a2c (patch) | |
tree | 58eff7fbf426264bac0248f11ebf988d9277045c | |
parent | 36ac471f5900dd3fadc2c3ecda57cc1e306dc12c (diff) | |
download | drakx-backup-do-not-use-0025aed73310e078b45968eb37fe3a2aed474a2c.tar drakx-backup-do-not-use-0025aed73310e078b45968eb37fe3a2aed474a2c.tar.gz drakx-backup-do-not-use-0025aed73310e078b45968eb37fe3a2aed474a2c.tar.bz2 drakx-backup-do-not-use-0025aed73310e078b45968eb37fe3a2aed474a2c.tar.xz drakx-backup-do-not-use-0025aed73310e078b45968eb37fe3a2aed474a2c.zip |
fix creating some directories
-rw-r--r-- | images/NEWS | 2 | ||||
-rwxr-xr-x | images/make_boot_img | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/images/NEWS b/images/NEWS index e00f3c09a..4dbce8cfd 100644 --- a/images/NEWS +++ b/images/NEWS @@ -1,3 +1,5 @@ +- fix creating some directories + Version 1.79 - 3 September 2012 by Thierry Vignaud - do not include ka stuff unlesse BUILD_KA is set 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`; |