diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/MGA/DrakISO/BuildBoot.pm | 4 |
1 files changed, 4 insertions, 0 deletions
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", |
