From 26372cd9f8fae971b9cc8c9802276f49c5045441 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Wed, 11 Aug 2010 14:46:48 +0000 Subject: mount /proc and /sys for both classical and media-specific initrd --- lib/MDV/Draklive/Initrd.pm | 4 ---- 1 file changed, 4 deletions(-) (limited to 'lib') 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; -- cgit v1.2.1