diff options
Diffstat (limited to 'draklive')
-rwxr-xr-x | draklive | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -81,8 +81,10 @@ sub build_syslinux_cfg { my $boot = $live->get_media_prefix('boot', $opts->{boot}); my ($initrd, $kernel, $bootlogo, $help) = map { $to_root ? basename($_) : $_ } map { $boot . $_ } $media->get_initrd_path, @syslinux_boot_files; - my $has_bootlogo = $live->{system}{gfxboot} && - -e ($live->get_builddir . $live->{prefix}{build}{boot} . '/syslinux/bootlogo'); + #- the generated syslinux/bootlogo is incomplete, so replace it + my $bootdir = $live->get_builddir . $live->{prefix}{build}{boot}; + my $has_bootlogo = $live->{system}{gfxboot} && -e ($bootdir . '/gfxmenu'); + cp_f($bootdir . '/gfxmenu', $bootdir . '/syslinux/bootlogo') if $has_bootlogo; my $timeout = get_bootloader_timeout($live) * 10; my $title = $media->{title} || $live->{media}{title}; join("\n", |