diff options
-rw-r--r-- | perl-install/NEWS | 1 | ||||
-rw-r--r-- | perl-install/bootloader.pm | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS index a61044a56..b9e9b9300 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -2,6 +2,7 @@ o support lxdm & slim too (#3715, Derek Jennings) o install autologin for lxdm & slim too - drakboot: + o do not crash if trying to build initrd from unknown partitions (mga#4290) o install acpi & acpid at once - drakxservices: o when listing services ensure disabled services that can be enabled are diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm index 4d71798f6..fedb4a15e 100644 --- a/perl-install/bootloader.pm +++ b/perl-install/bootloader.pm @@ -110,7 +110,8 @@ sub mkinitrd { my ($kernel_version, $bootloader, $entry, $initrd) = @_; return $initrd if $::testing # testing mode - || -e "$::prefix/$initrd"; # already exists + || -e "$::prefix/$initrd" # already exists + || $initrd =~ /\(hd/; # unrecognized partition # for /boot on dos partitions when installing on loopback file on dos partition my $loop_boot = fs::loopback::prepare_boot(); |