summaryrefslogtreecommitdiffstats
path: root/make_boot_img
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2001-08-13 19:01:00 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2001-08-13 19:01:00 +0000
commit0fc25337f6b7397a892d6724cb6dc3886d6f01f8 (patch)
treeaf087b3dbfe4795f060a7856bcebba6eb504d5f6 /make_boot_img
parente6d3af5c9852c3c2856432d04ec86605e95dfb9d (diff)
downloaddrakx-backup-do-not-use-0fc25337f6b7397a892d6724cb6dc3886d6f01f8.tar
drakx-backup-do-not-use-0fc25337f6b7397a892d6724cb6dc3886d6f01f8.tar.gz
drakx-backup-do-not-use-0fc25337f6b7397a892d6724cb6dc3886d6f01f8.tar.bz2
drakx-backup-do-not-use-0fc25337f6b7397a892d6724cb6dc3886d6f01f8.tar.xz
drakx-backup-do-not-use-0fc25337f6b7397a892d6724cb6dc3886d6f01f8.zip
don't generate a useless rdz file
Diffstat (limited to 'make_boot_img')
-rwxr-xr-xmake_boot_img2
1 files changed, 1 insertions, 1 deletions
diff --git a/make_boot_img b/make_boot_img
index 2de5e52be..a0b381d26 100755
--- a/make_boot_img
+++ b/make_boot_img
@@ -59,9 +59,9 @@ foreach (@kernels) {
initrd($mnt, "$img-$_");
} else {
$::{"boot_img_$arch"}->($mnt, "$img-$_", glob("all.kernels/$_/boot/vmlinu*"));
+ rename("$img-$main", "$img");
}
}
-rename("$img-$main", "$img");
sub install_stripped { _ "strip $_[0]"; _ "$sudo install $_[0] $_[1]" }