From c05c1454bf33b985188b2321f43243d2496cd91d Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Thu, 23 Feb 2006 15:19:03 +0000 Subject: look for bootsplash config in live chroot, and try to find a '800x600' resolution --- tools/draklive | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tools') 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"; -- cgit v1.2.1