diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-08-06 00:00:47 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-08-06 00:00:47 +0000 |
commit | a5b4d025329e10fc08f5984177afd077ad7b3fac (patch) | |
tree | e2d093ebbc46816bf05f434fc9739bc67fb8acbe /make_boot_img | |
parent | dc742c1a911af43942fbef321947958ac0807433 (diff) | |
download | drakx-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-x | make_boot_img | 3 |
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"); } |