[PATCH] util: mkimage, fix gcc5 build failure

2015-02-12 Thread Jiri Slaby
kimage.c:953:39: note: possible undefined statement is here for (j = 0; image_targets[i].names[j] ^ Well, let's move the index 'j' test before accesing the array to: 1) make the loop obvious 2) make gcc happy Signed-off-by: Jiri Slaby

[PATCH 5/5] add GRUB_CMDLINE_LINUX_RECOVERY for recovery mode

2012-07-10 Thread Jiri Slaby
apted from there. Signed-off-by: Jiri Slaby --- util/grub-mkconfig.in |6 +- util/grub.d/10_linux.in |2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/util/grub-mkconfig.in b/util/grub-mkconfig.in index 516be86..82917d7 100644 --- a/util/grub-mkconfig.in +++ b

[PATCH 4/5] Migrate PPC from Yaboot to Grub2

2012-07-10 Thread Jiri Slaby
From: Mark Hamzy Add configuration support for serial terminal consoles. This will set the maximum screen size so that text is not overwritten. Signed-off-by: Jiri Slaby --- Makefile.util.def |7 +++ util/grub.d/20_ppc_terminfo.in | 114

[PATCH 2/5] grub-install: add --skip-fs-probe

2012-07-10 Thread Jiri Slaby
fails: $ grub2-install --force /dev/sda2 /usr/sbin/grub2-probe: error: cannot find a GRUB drive for /dev/sda2. Check your device.map. Signed-off-by: Jiri Slaby References: https://bugzilla.novell.com/show_bug.cgi?id=750897 --- util/grub-install.in |5 - 1 file changed, 4 insertions(+), 1 del

[PATCH 3/5] msdos-part: allow embedding in extended partition

2012-07-09 Thread Jiri Slaby
From: Michael Chang The same as in the previous patch, add a support for installing grub into an extended partition. Here, we do not ignore extended partitions anymore. Instead we call a hook that makes sure we have the partition when installing. Signed-off-by: Jiri Slaby References: https

[PATCH 1/5] search for fonts in /usr/share/fonts/uni

2012-07-09 Thread Jiri Slaby
From: Jiri Slaby Location of the fonts in Suse is /usr/share/fonts/uni. We have to use this patch when packaging grub2. Instead, it would be great to have this upstream so others may leverage that. Signed-off-by: Jiri Slaby --- configure.ac |2 +- 1 file changed, 1 insertion(+), 1