summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmake_boot_img3
1 files changed, 2 insertions, 1 deletions
diff --git a/make_boot_img b/make_boot_img
index 0040ecb35..5dc27816f 100755
--- a/make_boot_img
+++ b/make_boot_img
@@ -5,7 +5,7 @@
use Config;
use MDK::Common;
Config->import;
-my ($arch) = $Config{archname} =~ /(.*)-/;
+my ($arch) = $Config{archname} =~ /(.*?)-/;
($img, $type) = @ARGV;
@@ -67,6 +67,7 @@ foreach (@kernels) {
if ($img =~ /rdz$/) {
initrd($mnt, "$img-$_");
} else {
+ print STDERR "calling boot_img_$arch\n";
$::{"boot_img_$arch"}->($mnt, "$img-$_", glob("kernel/all.kernels/$_/boot/vmlinu*"));
rename("$img-$main", "$img");
}