diff options
Diffstat (limited to 'lib/MDV/Draklive/Initrd.pm')
-rw-r--r-- | lib/MDV/Draklive/Initrd.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/MDV/Draklive/Initrd.pm b/lib/MDV/Draklive/Initrd.pm index a946528..8411787 100644 --- a/lib/MDV/Draklive/Initrd.pm +++ b/lib/MDV/Draklive/Initrd.pm @@ -299,6 +299,9 @@ sub create_classical_initrd { my $kernel = $live->find_kernel; print "using kernel $kernel->{version}\n"; + 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'); { |