summaryrefslogtreecommitdiffstats
path: root/make_boot_img
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-08-06 00:00:47 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-08-06 00:00:47 +0000
commita5b4d025329e10fc08f5984177afd077ad7b3fac (patch)
treee2d093ebbc46816bf05f434fc9739bc67fb8acbe /make_boot_img
parentdc742c1a911af43942fbef321947958ac0807433 (diff)
downloaddrakx-backup-do-not-use-a5b4d025329e10fc08f5984177afd077ad7b3fac.tar
drakx-backup-do-not-use-a5b4d025329e10fc08f5984177afd077ad7b3fac.tar.gz
drakx-backup-do-not-use-a5b4d025329e10fc08f5984177afd077ad7b3fac.tar.bz2
drakx-backup-do-not-use-a5b4d025329e10fc08f5984177afd077ad7b3fac.tar.xz
drakx-backup-do-not-use-a5b4d025329e10fc08f5984177afd077ad7b3fac.zip
adapt regexp on archname to thread-multi
Diffstat (limited to 'make_boot_img')
-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");
}