From b52888b09904b607c8351da18affaf19e3690ee9 Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Thu, 21 Dec 2017 15:34:26 +0000 Subject: Add option to override the bootloader title. --- lib/MGA/DrakISO/BuildBoot.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/MGA/DrakISO/BuildBoot.pm') diff --git a/lib/MGA/DrakISO/BuildBoot.pm b/lib/MGA/DrakISO/BuildBoot.pm index fc0f3fa..2038538 100755 --- a/lib/MGA/DrakISO/BuildBoot.pm +++ b/lib/MGA/DrakISO/BuildBoot.pm @@ -174,7 +174,7 @@ sub prepare_iso_bootloader { output($grub2_cfg, build_grub2_cfg($build, $theme_name, \@theme_fonts, $add_lang_menu, $add_kbd_menu)); } - my $title = $label =~ s/-/ /gr; + my $title = $build->{media}{bootloader_title} // $label =~ s/-/ /gr; # If we have a theme, replace the menu title with the name of the ISO # (extracted from the disk label). -- cgit v1.2.1