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/NEWS | 1 + images/make_boot_img | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/images/NEWS b/images/NEWS index fd369707c..068a44b49 100644 --- a/images/NEWS +++ b/images/NEWS @@ -1,3 +1,4 @@ +- fix finding grub legacy files for hd_grub generation - syslinux needs more space on all.img Version 2.20 - 7 April 2015 by Thomas Backlund 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