Re: pvgrub2 is merged

2013-11-30 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 29.11.2013 14:24, Colin Watson wrote: > On Sat, Nov 09, 2013 at 09:52:20PM +0100, Vladimir 'φ-coder/phcoder' > Serbinenko wrote: >> Hello, all. pvgrub2 has just became part of upstream grub as ports >> i386-xen and x86_64-xen. > > Could anyone offer packaging advice for which ports should be b

Re: [PATCH] add grub_qsort_strcmp to use when sorting array of strings

2013-11-30 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 29.11.2013 18:01, Andrey Borzenkov wrote: > Compare function used in qsort gets arguments by reference, so strcmp > cannot be used directly - it expects pointer to char, but gets pointer > to pointer to char. > > Introduce new helper grub_qsort_strcmp and use it in grub-install. > This helper i

Re: [PATCH] document sleep command exit codes

2013-11-30 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 29.11.2013 18:29, Andrey Borzenkov wrote: >> "sleep --interruptible" returns true (i.e. 0) >> if and only if the timeout expires *without* being interrupted, > > This should not require digging in sources ... > Go ahead > --- > docs/grub.texi | 3 ++- > 1 file change

Re: [PATCH] add grub_qsort_strcmp to use when sorting array of strings

2013-11-30 Thread Andrey Borzenkov
В Sat, 30 Nov 2013 11:39:12 +0100 Vladimir 'φ-coder/phcoder' Serbinenko пишет: > On 29.11.2013 18:01, Andrey Borzenkov wrote: > > Compare function used in qsort gets arguments by reference, so strcmp > > cannot be used directly - it expects pointer to char, but gets pointer > > to pointer to char

[PATCH] fix libgrub.pp build post arm64 merge

2013-11-30 Thread Andrey Borzenkov
grub-core/kern/arm64/dl_helper.c:26:28: fatal error: grub/cpu/reloc.h: No such file or directory --- grub-core/kern/arm64/dl_helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grub-core/kern/arm64/dl_helper.c b/grub-core/kern/arm64/dl_helper.c index b2f7ee5..6f99087 100

Re: [PATCH] fix libgrub.pp build post arm64 merge

2013-11-30 Thread Vladimir 'phcoder' Serbinenko
go ahead On Nov 30, 2013 7:19 PM, "Andrey Borzenkov" wrote: > grub-core/kern/arm64/dl_helper.c:26:28: fatal error: grub/cpu/reloc.h: No > such file or directory > > --- > grub-core/kern/arm64/dl_helper.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/grub-core/kern/arm6

[PATCH, RFC, RFT] ARM relocation fixes

2013-11-30 Thread Vladimir 'φ-coder/phcoder' Serbinenko
Current ARM relocation doesn't handle the cases when the relocation cant be satisfied directly (like thumb call over 1M of distance or jump24 to thumb mode. Attached patch adds missing tampoline and missing relocation handling to EFI code (it didn't allow to use ARM (no-Thumb) binary with EFI). I c