diff options
author | Olivier Blin <oblin@mandriva.com> | 2009-11-30 13:03:20 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2009-11-30 13:03:20 +0000 |
commit | 9e0231cfae73af92d0c6ff78e7c91146aab6a71d (patch) | |
tree | 337df650ef29299ead1b37a1dcce13fa22375058 /perl-install | |
parent | 6af9d6c98d7ccec8143f53ac970763910ad828f3 (diff) | |
download | drakx-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')
-rw-r--r-- | perl-install/NEWS | 1 | ||||
-rw-r--r-- | perl-install/bootloader.pm | 2 |
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)) { |