From b8c31826370aae933f1943b12cfe7b043b3df8bb Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Mon, 24 Oct 2016 19:45:24 +0100 Subject: draklive: replace incomplete syslinux/bootlogo with gfxboot The generated bootlogo file is missing the background image and the translations. The generated gfxboot file contains the missing items. This replaces the manually applied hack found in draklive-config/files/hacks. --- draklive | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/draklive b/draklive index 5fc70aa..27710a8 100755 --- a/draklive +++ b/draklive @@ -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", -- cgit v1.2.1