summaryrefslogtreecommitdiffstats
path: root/lib/MDV/Draklive
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2010-08-11 14:46:48 +0000
committerOlivier Blin <oblin@mandriva.com>2010-08-11 14:46:48 +0000
commit26372cd9f8fae971b9cc8c9802276f49c5045441 (patch)
tree1eaa68fbb7cc094dd43e5b4f65241eff39a3390d /lib/MDV/Draklive
parentfd43d643686a99ffa23063d3abc473a960d7af6d (diff)
downloaddraklive-26372cd9f8fae971b9cc8c9802276f49c5045441.tar
draklive-26372cd9f8fae971b9cc8c9802276f49c5045441.tar.gz
draklive-26372cd9f8fae971b9cc8c9802276f49c5045441.tar.bz2
draklive-26372cd9f8fae971b9cc8c9802276f49c5045441.tar.xz
draklive-26372cd9f8fae971b9cc8c9802276f49c5045441.zip
mount /proc and /sys for both classical and media-specific initrd
Diffstat (limited to 'lib/MDV/Draklive')
-rw-r--r--lib/MDV/Draklive/Initrd.pm4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/MDV/Draklive/Initrd.pm b/lib/MDV/Draklive/Initrd.pm
index b88b9c7..e869cbf 100644
--- a/lib/MDV/Draklive/Initrd.pm
+++ b/lib/MDV/Draklive/Initrd.pm
@@ -304,15 +304,11 @@ sub create_classical_initrd {
my $initrd_long = '/boot/initrd-'. $kernel . '.img';
unlink($root . $initrd_long);
- run_('mount', '-t', 'proc', '/proc', $root . '/proc');
- run_('mount', '-t', 'sysfs', '/sys', $root . '/sys');
{
my $bootloader = {};
local $::prefix = $root;
bootloader::add_kernel($bootloader, $kernel, { label => 'linux', vga => $live->{system}{vga_mode} }, '', $live->{system}{no_initrd});
}
- run_('umount', $root . '/sys');
- run_('umount', $root . '/proc');
}
1;