From afb05637bf4a886cd060f2bb54626574e21d73d3 Mon Sep 17 00:00:00 2001 From: Thomas Backlund Date: Tue, 7 Apr 2015 20:41:03 +0259 Subject: fix finding grub legacy files for hd_grub generation --- images/make_boot_img | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'images/make_boot_img') diff --git a/images/make_boot_img b/images/make_boot_img index d73d89da6..15ba799eb 100755 --- a/images/make_boot_img +++ b/images/make_boot_img @@ -379,7 +379,7 @@ sub hd_grub { my ($img) = @_; my $mapfile = '/tmp/device.map.tmp'; - my ($grub_dir) = glob("/lib/grub/*-*"); + my ($grub_dir) = glob("/lib/grub/*-mageia"); my @grub_files = map { "$grub_dir/$_" } qw(stage1 stage2); # mtools wants the image to be a power of 32 -- cgit v1.2.1