summaryrefslogtreecommitdiffstats
path: root/perl-install/bootloader.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2009-11-30 13:03:20 +0000
committerOlivier Blin <oblin@mandriva.com>2009-11-30 13:03:20 +0000
commit9e0231cfae73af92d0c6ff78e7c91146aab6a71d (patch)
tree337df650ef29299ead1b37a1dcce13fa22375058 /perl-install/bootloader.pm
parent6af9d6c98d7ccec8143f53ac970763910ad828f3 (diff)
downloaddrakx-9e0231cfae73af92d0c6ff78e7c91146aab6a71d.tar
drakx-9e0231cfae73af92d0c6ff78e7c91146aab6a71d.tar.gz
drakx-9e0231cfae73af92d0c6ff78e7c91146aab6a71d.tar.bz2
drakx-9e0231cfae73af92d0c6ff78e7c91146aab6a71d.tar.xz
drakx-9e0231cfae73af92d0c6ff78e7c91146aab6a71d.zip
do not pass deprecated --ifneeded option anymore to mkinitrd
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 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)) {