summaryrefslogtreecommitdiffstats
path: root/draklive
diff options
context:
space:
mode:
Diffstat (limited to 'draklive')
-rwxr-xr-xdraklive6
1 files changed, 6 insertions, 0 deletions
diff --git a/draklive b/draklive
index 3cdcf35..fdcb21f 100755
--- a/draklive
+++ b/draklive
@@ -513,6 +513,9 @@ sub create_bootloader {
-e $root . $vmlinuz_long or die "can not find kernel $kernel\n";
if ($live->{system}{gfxboot}) {
+ run_('mount', '-t', 'proc', 'none', $root . '/proc');
+ run_('mount', '-t', 'sysfs', 'none', $root . '/sys');
+
#- would be run by bootloader::add_boot_splash and make-boot-splash, but not called when we don't generate an initrd
run_({ root => $root }, '/usr/share/bootsplash/scripts/switch-themes', '-u');
#- grub-gfxmenu would be run by bootloader::write_grub from DrakX
@@ -525,6 +528,9 @@ sub create_bootloader {
} else {
warn "no gfxmenu file\n";
}
+
+ run_('umount', $root . '/sys');
+ run_('umount', $root . '/proc');
}
# this will copy (among other things) the gfxboot theme to the media