diff options
author | Colin Guthrie <colin@mageia.org> | 2012-09-01 14:40:52 +0000 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2012-09-01 14:40:52 +0000 |
commit | adbee14303bfa3998c514caf35ec550ee515d5ea (patch) | |
tree | 529ba9a23f62395d4bf511aff57a45275e2e3213 /perl-install/bootloader.pm | |
parent | de833a7dca2cc7dcaa18a79512b4117523546979 (diff) | |
download | drakx-adbee14303bfa3998c514caf35ec550ee515d5ea.tar drakx-adbee14303bfa3998c514caf35ec550ee515d5ea.tar.gz drakx-adbee14303bfa3998c514caf35ec550ee515d5ea.tar.bz2 drakx-adbee14303bfa3998c514caf35ec550ee515d5ea.tar.xz drakx-adbee14303bfa3998c514caf35ec550ee515d5ea.zip |
(mkinitrd) Fix prefix checking in foreign partition check (mga#6966)
Diffstat (limited to 'perl-install/bootloader.pm')
-rw-r--r-- | perl-install/bootloader.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm index 62a046fe9..b7b1d4c33 100644 --- a/perl-install/bootloader.pm +++ b/perl-install/bootloader.pm @@ -113,7 +113,7 @@ sub mkinitrd { return $initrd if $::testing # testing mode || -e "$::prefix/$initrd" # already exists || $initrd =~ /\(hd/ # unrecognized partition - || !-d $dir; # dir doesn't exist (probably !mounted foreign part) + || !-d "$::prefix/$dir";# dir doesn't exist (probably !mounted foreign part) # for /boot on dos partitions when installing on loopback file on dos partition my $loop_boot = fs::loopback::prepare_boot(); |