summaryrefslogtreecommitdiffstats
path: root/lib/MGA/DrakISO/BuildBoot.pm
diff options
context:
space:
mode:
authorMartin Whitaker <mageia@martin-whitaker.me.uk>2017-12-21 15:34:26 +0000
committerMartin Whitaker <mageia@martin-whitaker.me.uk>2017-12-21 15:34:26 +0000
commitb52888b09904b607c8351da18affaf19e3690ee9 (patch)
tree1b91431c353e10d240e7ebd034d3f87c5dbce44d /lib/MGA/DrakISO/BuildBoot.pm
parentfb05b3866e0f591bbaa990f94c3755b544761778 (diff)
downloaddrakiso-b52888b09904b607c8351da18affaf19e3690ee9.tar
drakiso-b52888b09904b607c8351da18affaf19e3690ee9.tar.gz
drakiso-b52888b09904b607c8351da18affaf19e3690ee9.tar.bz2
drakiso-b52888b09904b607c8351da18affaf19e3690ee9.tar.xz
drakiso-b52888b09904b607c8351da18affaf19e3690ee9.zip
Add option to override the bootloader title.
Diffstat (limited to 'lib/MGA/DrakISO/BuildBoot.pm')
-rwxr-xr-xlib/MGA/DrakISO/BuildBoot.pm2
1 files changed, 1 insertions, 1 deletions
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).