diff options
| -rw-r--r-- | NEWS | 3 | ||||
| -rw-r--r-- | lib/MGA/DrakISO/BuildBoot.pm | 4 |
2 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,6 @@ +- add {media}{bootloader_entries}{message} key to display a message + whilst loading the Linux kernel + 1.22 - add {media}{iso-level} config key to allow loopback file size > 4GB diff --git a/lib/MGA/DrakISO/BuildBoot.pm b/lib/MGA/DrakISO/BuildBoot.pm index 83f158c..c64d3f0 100644 --- a/lib/MGA/DrakISO/BuildBoot.pm +++ b/lib/MGA/DrakISO/BuildBoot.pm @@ -397,6 +397,7 @@ sub build_grub2_cfg { ), (map { my ($name, $options) = @$_; + my $message = $options->{message}; my $command = $options->{command} || '$linux'; my $image = $options->{image} || get_default_image($build, $name); my $initrd = $options->{initrd} || get_default_initrd($build); @@ -410,6 +411,9 @@ sub build_grub2_cfg { "if [ \$grub_platform != 'efi' ] ; then", # EFI doesn't support 16-bit ), "menuentry $gettext\"$name\" {", + if_($message, + " echo \"$message\"" + ), " $command $image " . join(' ', get_default_append($build), $append), if_($initrd ne 'none' && defined $initrd_command{$command}, " $initrd_command{$command} $initrd", |
