Skip to content

Commit

Permalink
KIWIImage: add grub2-mkimage prefix option
Browse files Browse the repository at this point in the history
grub2-mkimage on openSUSE Leap 42.3 now requires "-p" option.
See also ece8cb9
  • Loading branch information
ftake committed Nov 12, 2017
1 parent 379e18e commit e0344a7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion modules/KIWIImage.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1814,7 +1814,10 @@ sub createImageLiveCD {
}
my $core = "$CD/EFI/BOOT/$efi_bin";
my @modules = @efimods;
my $core_opts = "-O $efi_fo -o $core -c $bootefi -d $ir_modules";
my $core_opts;
$core_opts = "-O $efi_fo -o $core -c $bootefi ";
$core_opts.= "-p /boot/grub2 ";
$core_opts.= "-d $ir_modules";
$status = KIWIQX::qxx (
"$grub2_mkimage $core_opts @modules 2>&1"
);
Expand Down

0 comments on commit e0344a7

Please sign in to comment.