From 9e0231cfae73af92d0c6ff78e7c91146aab6a71d Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Mon, 30 Nov 2009 13:03:20 +0000 Subject: do not pass deprecated --ifneeded option anymore to mkinitrd --- perl-install/NEWS | 1 + perl-install/bootloader.pm | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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)) { -- cgit v1.2.1