diff options
author | Olivier Blin <oblin@mandriva.com> | 2010-08-11 14:51:30 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2010-08-11 14:51:30 +0000 |
commit | 4f87385d022968e97b0763e52247eb356c12927a (patch) | |
tree | 6d34f72d2d841f68a5ca4b9546a31c881f2ab379 /draklive | |
parent | 57e19364f05147f67c47749e94e9edddfa7c47f8 (diff) | |
download | drakiso-4f87385d022968e97b0763e52247eb356c12927a.tar drakiso-4f87385d022968e97b0763e52247eb356c12927a.tar.gz drakiso-4f87385d022968e97b0763e52247eb356c12927a.tar.bz2 drakiso-4f87385d022968e97b0763e52247eb356c12927a.tar.xz drakiso-4f87385d022968e97b0763e52247eb356c12927a.zip |
mount /proc and /sys for gfxboot files too
Diffstat (limited to 'draklive')
-rwxr-xr-x | draklive | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |