summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntoine Ginies <aginies@mandriva.com>2011-01-20 14:40:19 +0000
committerAntoine Ginies <aginies@mandriva.com>2011-01-20 14:40:19 +0000
commit6169cef9eca13af257c1070c39ffbb4cd876b1c1 (patch)
tree573acf4152021a872b6bf9ff67aa630d7d980704
parentf710ad7efecee968f33bf64a3ec7a567789ddfd5 (diff)
downloaddrakx-6169cef9eca13af257c1070c39ffbb4cd876b1c1.tar
drakx-6169cef9eca13af257c1070c39ffbb4cd876b1c1.tar.gz
drakx-6169cef9eca13af257c1070c39ffbb4cd876b1c1.tar.bz2
drakx-6169cef9eca13af257c1070c39ffbb4cd876b1c1.tar.xz
drakx-6169cef9eca13af257c1070c39ffbb4cd876b1c1.zip
fix missing VAR
-rwxr-xr-ximages/make_boot_img1
1 files changed, 1 insertions, 0 deletions
diff --git a/images/make_boot_img b/images/make_boot_img
index 02fd0b85d..7c81cecb3 100755
--- a/images/make_boot_img
+++ b/images/make_boot_img
@@ -141,6 +141,7 @@ EOF
sub initrd {
my ($type, $I, $img, $o_bootsplash_cfg) = @_;
my $stage1_root = "../mdk-stage1";
+ my ($ext) = $img =~ /rdz-(.*)/ or die "bad initrd name ($img)";
_ "rm -rf $tmp_initrd";
mkdir_p("$tmp_initrd$_") foreach qw(/etc /firmware /lib /modules /sbin /tmp /var);