Re: [PATCH] grub-install: Improve support for partitioned loop devices.

2014-01-25 Thread Andrey Borzenkov
В Sun, 26 Jan 2014 01:20:09 -0500 Mike Gilbert пишет: > On Sun, Jan 26, 2014 at 12:16 AM, Andrey Borzenkov > wrote: > > В Sat, 25 Jan 2014 20:41:00 -0500 > > Mike Gilbert пишет: > > > >> * grub-core/osdep/linux/getroot.c (grub_util_part_to_disk): Detect > >> /dev/loopX as being the parent of /

Re: [PATCH] grub-install: Improve support for partitioned loop devices.

2014-01-25 Thread Mike Gilbert
On Sun, Jan 26, 2014 at 12:16 AM, Andrey Borzenkov wrote: > В Sat, 25 Jan 2014 20:41:00 -0500 > Mike Gilbert пишет: > >> * grub-core/osdep/linux/getroot.c (grub_util_part_to_disk): Detect >> /dev/loopX as being the parent of /dev/loopXpY. > > Those devices are normally device-mapper ones (created

Re: Booting from RAID (was: Re: booting btrfs)

2014-01-25 Thread Andrey Borzenkov
В Tue, 21 Jan 2014 09:03:52 +0100 Vladimir 'φ-coder/phcoder' Serbinenko пишет: > On 13.01.2014 07:12, Andrey Borzenkov wrote: > > On Mon, Jan 13, 2014 at 9:53 AM, Chris Murphy > > wrote: > > > >> There are other problems with Fedora that prevent this from being usable > >> now, including grub

Re: [PATCH] grub-install: Improve support for partitioned loop devices.

2014-01-25 Thread Andrey Borzenkov
В Sat, 25 Jan 2014 20:41:00 -0500 Mike Gilbert пишет: > * grub-core/osdep/linux/getroot.c (grub_util_part_to_disk): Detect > /dev/loopX as being the parent of /dev/loopXpY. Those devices are normally device-mapper ones (created by kpartx) and grub already detects parent by following device-mappe

[PATCH] grub-install: Improve support for partitioned loop devices.

2014-01-25 Thread Mike Gilbert
* grub-core/osdep/linux/getroot.c (grub_util_part_to_disk): Detect /dev/loopX as being the parent of /dev/loopXpY. --- ChangeLog | 5 + grub-core/osdep/linux/getroot.c | 13 + 2 files changed, 18 insertions(+) diff --git a/ChangeLog b/ChangeLog index c93f11f

[PATCH] fix crash in CLI on empty line with continuation

2014-01-25 Thread Andrey Borzenkov
GRUB would crash when getting the following (without quotes) "\RETURN "RETURN This results in empty args. OTOH having empty first argument is not really a problem (it simply fails to find empty command name). --- grub-core/script/execute.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [PATCH] Improve DejaVuSans detection

2014-01-25 Thread Andrey Borzenkov
В Wed, 22 Jan 2014 00:16:44 +0100 Vladimir 'φ-coder/phcoder' Serbinenko пишет: > On 21.01.2014 17:16, Andrey Borzenkov wrote: > > Yes, I realized that. The problem is, unifont may be missing (user is > > free to override it with GRUB_FONT) > If user overrides our fonts and gets ugly display it's

Re: [PATCH v2] fix Mingw W64-32 cross compile failure due to printf redefinition in libintl.h

2014-01-25 Thread Vladimir 'φ-coder/phcoder' Serbinenko
Go ahead On 25.01.2014 16:51, Andrey Borzenkov wrote: > В Fri, 24 Jan 2014 21:34:17 +0100 > Vladimir 'φ-coder/phcoder' Serbinenko пишет: > >> On 18.01.2014 20:09, Andrey Borzenkov wrote: >>> В Sat, 18 Jan 2014 20:07:31 +0100 >>> Vladimir 'φ-coder/phcoder' Serbinenko пишет: >>> On 18.01.2014

make with po files fails due to missing C.UTF-8 locale

2014-01-25 Thread Andrey Borzenkov
make[2]: Вход в каталог `/home/bor/build/grub/po' LC_ALL=C.UTF-8 msginit -i ./grub.pot --no-translator -l en@cyrillic -o - 2>/dev/null | LC_ALL=C.UTF-8 msgconv -t UTF-8 | LC_ALL=C.UTF-8 msgfilter -o ./e...@cyrillic.po -i - sed -f ./cyrillic.sed msgfilter: warning: Locale charset "ANSI_X3.4-1968"

Re: grub-shell: Pass -no-pad to xorriso when building floppy images

2014-01-25 Thread Andrey Borzenkov
В Wed, 22 Jan 2014 16:12:26 +0100 Vladimir 'φ-coder/phcoder' Serbinenko пишет: > On 16.01.2014 15:53, Colin Watson wrote: > > On Thu, Jan 16, 2014 at 03:05:44PM +0100, Thomas Schmitt wrote: > >> Hi, > >> > >>> +mkrescue_args="${mkrescue_args} -- -no-pad" > >> > >> This "--" is most probably n

Re: [PATCH v2] fix Mingw W64-32 cross compile failure due to printf redefinition in libintl.h

2014-01-25 Thread Andrey Borzenkov
В Fri, 24 Jan 2014 21:34:17 +0100 Vladimir 'φ-coder/phcoder' Serbinenko пишет: > On 18.01.2014 20:09, Andrey Borzenkov wrote: > > В Sat, 18 Jan 2014 20:07:31 +0100 > > Vladimir 'φ-coder/phcoder' Serbinenko пишет: > > > >> On 18.01.2014 20:02, Andrey Borzenkov wrote: > >>> +fw.write (f.r

call a function located in one module from another module

2014-01-25 Thread Vijayakumar Venganti
Dear Friends, I wanted to do some verification of bzImage before it is being loaded with grub_cmd_linux() from /loader/i386/linux.c. As a first step: I have added a new module(Say abc.mod) into grub-core which does the verification of bzImage(bzImage path is hardcoded in my abc.mod as /boot/bzIma