summaryrefslogtreecommitdiffstats
path: root/images/make_boot_img
diff options
context:
space:
mode:
Diffstat (limited to 'images/make_boot_img')
-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);