summaryrefslogtreecommitdiffstats
path: root/tools/draklive
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2006-02-23 15:19:03 +0000
committerOlivier Blin <oblin@mandriva.org>2006-02-23 15:19:03 +0000
commitc05c1454bf33b985188b2321f43243d2496cd91d (patch)
tree10f8a58f7dff5df57cb6d25c861e6356b0d2d40f /tools/draklive
parenta03645c3a8659935cc9126fd340515af4cc3a0be (diff)
downloaddrakx-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-xtools/draklive5
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";