summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntoine Ginies <aginies@mandriva.com>2011-04-27 08:33:04 +0000
committerAntoine Ginies <aginies@mandriva.com>2011-04-27 08:33:04 +0000
commitb9661293abf293efbf970bb25f97326c7e9f310f (patch)
treee3ef603da0d627a320b9cce8fd7fb670302737b4
parent23ec8336d5f32a85c269b4db5d0f873c14ed6c5e (diff)
downloaddrakx-backup-do-not-use-b9661293abf293efbf970bb25f97326c7e9f310f.tar
drakx-backup-do-not-use-b9661293abf293efbf970bb25f97326c7e9f310f.tar.gz
drakx-backup-do-not-use-b9661293abf293efbf970bb25f97326c7e9f310f.tar.bz2
drakx-backup-do-not-use-b9661293abf293efbf970bb25f97326c7e9f310f.tar.xz
drakx-backup-do-not-use-b9661293abf293efbf970bb25f97326c7e9f310f.zip
use dracut instead of mkinitrd
-rw-r--r--perl-install/bootloader.pm6
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});