summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/NEWS1
-rw-r--r--perl-install/bootloader.pm2
2 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index 1107a313d..7d9dd3f18 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -11,6 +11,7 @@
o fix detecting some mice
- bootloader:
o do not add removable drives as "Windows" entry in bootloader
+ o do not pass deprecated --ifneeded option anymore to mkinitrd
- detect better invalid dos partition table (fixes a crash in harddrake)
- mygtk2:
o allow labels to be set selectable
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm
index 8a5bcaba4..5267981ca 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -116,7 +116,7 @@ sub mkinitrd {
modules::load('loop');
my @options = (
- if_($::isInstall, "-v"), "-f", $initrd, "--ifneeded", $kernel_version,
+ if_($::isInstall, "-v"), "-f", $initrd, $kernel_version,
if_($entry->{initrd_options}, split(' ', $entry->{initrd_options})),
);
if (!run_program::rooted($::prefix, 'mkinitrd', @options)) {