diff options
author | Antoine Ginies <aginies@mandriva.com> | 2011-04-27 08:33:04 +0000 |
---|---|---|
committer | Antoine Ginies <aginies@mandriva.com> | 2011-04-27 08:33:04 +0000 |
commit | b9661293abf293efbf970bb25f97326c7e9f310f (patch) | |
tree | e3ef603da0d627a320b9cce8fd7fb670302737b4 | |
parent | 23ec8336d5f32a85c269b4db5d0f873c14ed6c5e (diff) | |
download | drakx-b9661293abf293efbf970bb25f97326c7e9f310f.tar drakx-b9661293abf293efbf970bb25f97326c7e9f310f.tar.gz drakx-b9661293abf293efbf970bb25f97326c7e9f310f.tar.bz2 drakx-b9661293abf293efbf970bb25f97326c7e9f310f.tar.xz drakx-b9661293abf293efbf970bb25f97326c7e9f310f.zip |
use dracut instead of mkinitrd
-rw-r--r-- | perl-install/bootloader.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm index 52ecdc89f..f9362fa94 100644 --- a/perl-install/bootloader.pm +++ b/perl-install/bootloader.pm @@ -116,12 +116,12 @@ sub mkinitrd { modules::load('loop'); my @options = ( - if_($::isInstall, "-v"), "-f", $initrd, $kernel_version, + if_($::isInstall), "-f", $initrd, $kernel_version, if_($entry->{initrd_options}, split(' ', $entry->{initrd_options})), ); - if (!run_program::rooted($::prefix, 'mkinitrd', @options)) { + if (!run_program::rooted($::prefix, 'dracut', @options)) { unlink("$::prefix/$initrd"); - die "mkinitrd failed:\n(mkinitrd @options)"; + die "dracut failed:\n(dracut @options)"; } add_boot_splash($initrd, $entry->{vga} || $bootloader->{vga}); |