diff options
author | Olivier Blin <oblin@mandriva.org> | 2006-02-23 15:19:03 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2006-02-23 15:19:03 +0000 |
commit | c05c1454bf33b985188b2321f43243d2496cd91d (patch) | |
tree | 10f8a58f7dff5df57cb6d25c861e6356b0d2d40f /tools/draklive | |
parent | a03645c3a8659935cc9126fd340515af4cc3a0be (diff) | |
download | drakx-c05c1454bf33b985188b2321f43243d2496cd91d.tar drakx-c05c1454bf33b985188b2321f43243d2496cd91d.tar.gz drakx-c05c1454bf33b985188b2321f43243d2496cd91d.tar.bz2 drakx-c05c1454bf33b985188b2321f43243d2496cd91d.tar.xz drakx-c05c1454bf33b985188b2321f43243d2496cd91d.zip |
look for bootsplash config in live chroot, and try to find a '800x600' resolution
Diffstat (limited to 'tools/draklive')
-rwxr-xr-x | tools/draklive | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/draklive b/tools/draklive index 1efe34363..3be9bfe8f 100755 --- a/tools/draklive +++ b/tools/draklive @@ -563,7 +563,10 @@ sub prepare_bootloader { create_initrd($live); cp_f(get_system_root($live) . '/boot/vmlinuz-' . $live->{system}{kernel}, get_workdir($live) . $live->{prefix}{boot} . '/vmlinuz'); require bootsplash; - my $theme = bootsplash::themes_read_sysconfig([ bootsplash::get_framebuffer_resolution() ]->[0]); + my $theme = do { + local $::prefix = get_system_root($live); + bootsplash::themes_read_sysconfig('800x600'); + }; my $msg = get_system_root($live) . "/usr/share/bootsplash/themes/$theme->{name}/lilo/syslinux"; if (-f $msg) { print "using $msg as syslinux splash image\n"; |