summaryrefslogtreecommitdiffstats
path: root/perl-install/bootloader.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-07-29 17:45:09 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-07-29 17:45:09 +0000
commitec0af4adedb519550959b0063d452142d9f6eb38 (patch)
tree4f576917b98cf1519e34a7cc6548779d6032752e /perl-install/bootloader.pm
parent2d414ed4ecc9d680e75db32a08a71582c9e6f612 (diff)
downloaddrakx-ec0af4adedb519550959b0063d452142d9f6eb38.tar
drakx-ec0af4adedb519550959b0063d452142d9f6eb38.tar.gz
drakx-ec0af4adedb519550959b0063d452142d9f6eb38.tar.bz2
drakx-ec0af4adedb519550959b0063d452142d9f6eb38.tar.xz
drakx-ec0af4adedb519550959b0063d452142d9f6eb38.zip
try to allow /boot on vfat (it used to work)
Diffstat (limited to 'perl-install/bootloader.pm')
-rw-r--r--perl-install/bootloader.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm
index 256e9c743..be375ac31 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -175,7 +175,7 @@ sub add_kernel {
mkinitrd($prefix, $version, $initrd) or undef $initrd;
if ($initrd && $ext ne "-$version") {
$initrd = "/boot/initrd$ext.img";
- symlinkf("initrd-$version.img", "$prefix$initrd");
+ symlinkf("initrd-$version.img", "$prefix$initrd") or cp_af("$prefix/boot/initrd-$version.img", "$prefix$initrd");
}
my $label = $ext =~ /-(default)/ ? $1 : "linux$ext";