summaryrefslogtreecommitdiffstats
path: root/lib/MDV
diff options
context:
space:
mode:
Diffstat (limited to 'lib/MDV')
-rw-r--r--lib/MDV/Draklive/Initrd.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/MDV/Draklive/Initrd.pm b/lib/MDV/Draklive/Initrd.pm
index 3095fbf..489e1f1 100644
--- a/lib/MDV/Draklive/Initrd.pm
+++ b/lib/MDV/Draklive/Initrd.pm
@@ -308,11 +308,11 @@ sub create_classical_initrd {
my $initrd_long = '/boot/initrd-'. $kernel . '.img';
my $initrd_short = '/boot/initrd.img';
- run_({}, 'mount', '-t', 'proc', '/proc', $root . '/proc');
- run_({}, 'mount', '-t', 'sysfs', '/sys', $root . '/sys');
+ run_('mount', '-t', 'proc', '/proc', $root . '/proc');
+ run_('mount', '-t', 'sysfs', '/sys', $root . '/sys');
run_({ root => $root }, 'mkinitrd', '-v', '-f', $initrd_long, $kernel);
- run_({}, 'umount', $root . '/sys');
- run_({}, 'umount', $root . '/proc');
+ run_('umount', $root . '/sys');
+ run_('umount', $root . '/proc');
if (-f $root . $initrd_long) {
symlinkf(basename($initrd_long), $root . $initrd_short);
add_splash($live, $initrd_long);