Re: Slow grub boot when /boot/grub is not on first partition

2009-11-15 Thread Felix Zielcke
Am Samstag, den 31.10.2009, 20:03 +0100 schrieb Vladimir 'phcoder' Serbinenko: > Simon Wagner wrote: > > Hello dear GRUB2 developers, > > > > I am a user of Ubuntu 9.10, which uses GRUB2 1.97. Unfortunately > GRUB > > needs a rather long time loading the modules. For 2 minutes or so it > > just dis

Re: gettext in build system

2009-11-15 Thread Colin Watson
On Mon, Nov 16, 2009 at 12:59:09AM +0100, Robert Millan wrote: > On Mon, Nov 16, 2009 at 12:13:55AM +0100, Robert Millan wrote: > > +#define _(str) gettext(str) > > And I'm not sure if this is the right place to define _. Isn't there > a system-wide definition? It's traditional to define _ in ea

Re: gettext in build system

2009-11-15 Thread Robert Millan
On Mon, Nov 16, 2009 at 12:13:55AM +0100, Robert Millan wrote: > +po/messages.pot: po/POTFILES > + xgettext --from-code=utf-8 --keyword=_ -f $< -o $@ > + > +po/*.po: po/messages.pot > + msgmerge -U $@ po/messages.pot > + > +po/%.mo: po/%.po > + $(MKDIR_P) $$(dirname $@) > + msgfmt -

Multiboot header license change

2009-11-15 Thread Robert Millan
Hi, This is to announce that, following approval from RMS, the header in GRUB 2 that contains Multiboot declarations (multiboot.h) is now being distributed under the X11 license in latest Bazaar trunk of GNU GRUB. With this change, we expect make it easier for OS kernel developers and implemento

gettext in build system

2009-11-15 Thread Robert Millan
I wrote initial support for gettext in build system. It is available in: sftp://bzr.savannah.gnu.org/srv/bzr/grub/people/robertmh/gettext/ also attached. It probably still needs some polish, please comment. -- Robert Millan The DRM opt-in fallacy: "Your data belongs to us. We will decid

Re: Any tutorial to configure grub menu interface ?

2009-11-15 Thread Robert Millan
On Mon, Nov 16, 2009 at 01:36:05AM +0800, Bean wrote: > On Sun, Nov 15, 2009 at 3:16 PM, J. Bakshi wrote: > > I just interested to know if the menu system is already there in grub2. My > > box is debian. Hope in a week I'll get the modification during package > > up-gradation. > > > Hi, > > B

Re: Any tutorial to configure grub menu interface ?

2009-11-15 Thread Robert Millan
On Sun, Nov 15, 2009 at 3:16 PM, J. Bakshi wrote: > I just interested to know if the menu system is already there in grub2. My > box is debian. Hope in a week I'll get the modification during package > up-gradation. Vladimir is currently reviewing Colin's work, and we expect that it will be mer

Re: Any tutorial to configure grub menu interface ?

2009-11-15 Thread Bean
On Sun, Nov 15, 2009 at 3:16 PM, J. Bakshi wrote: > I just interested to know if the menu system is already there in grub2. My > box is debian. Hope in a week I'll get the modification during package > up-gradation. Hi, Binary package is only available for ubuntu karmic, although installation

Re: [PATCH] Add -nostdinc to TARGET_CFLAGS

2009-11-15 Thread Felix Zielcke
Am Sonntag, den 15.11.2009, 13:32 +0100 schrieb Robert Millan: > On Sun, Nov 15, 2009 at 12:50:39PM +0100, Felix Zielcke wrote: > > > > $ srcdir=$PWD builddir=$PWD gcc -isystem=$srcdir/include > > > > -I$srcdir/include -I$builddir -I$builddir/include test.c -o test && ls > > > > test > > > > test

Re: [PATCH] Add -nostdinc to TARGET_CFLAGS

2009-11-15 Thread Robert Millan
On Sun, Nov 15, 2009 at 12:50:39PM +0100, Felix Zielcke wrote: > > > $ srcdir=$PWD builddir=$PWD gcc -isystem=$srcdir/include > > > -I$srcdir/include -I$builddir -I$builddir/include test.c -o test && ls > > > test > > > test > > > $ srcdir=$PWD builddir=$PWD gcc -nostdinc -isystem $(gcc > > > -p

Re: [PATCH] Add -nostdinc to TARGET_CFLAGS

2009-11-15 Thread Felix Zielcke
Am Sonntag, den 15.11.2009, 12:35 +0100 schrieb Robert Millan: > On Sun, Nov 15, 2009 at 12:17:50PM +0100, Felix Zielcke wrote: > > > > The advantage is that this does exatly what we want for the target. > > Remove /usr/include from the include search directories but still keep > > the gcc interna

Re: [PATCH] Add -nostdinc to TARGET_CFLAGS

2009-11-15 Thread Robert Millan
On Sun, Nov 15, 2009 at 12:17:50PM +0100, Felix Zielcke wrote: > > The advantage is that this does exatly what we want for the target. > Remove /usr/include from the include search directories but still keep > the gcc internal one for e.g. stdarg.h > As far as I understand the gcc manual, isystem

Re: [PATCH] Add -nostdinc to TARGET_CFLAGS

2009-11-15 Thread Felix Zielcke
Am Sonntag, den 15.11.2009, 12:12 +0100 schrieb Robert Millan: > On Sun, Nov 15, 2009 at 12:04:58PM +0100, Robert Millan wrote: > > On Sat, Nov 14, 2009 at 10:16:45PM +0100, Felix Zielcke wrote: > > > Am Mittwoch, den 04.11.2009, 11:48 +0100 schrieb Felix Zielcke: > > > > > > > > Thanks to the hin

Re: [PATCH] Add -nostdinc to TARGET_CFLAGS

2009-11-15 Thread Felix Zielcke
Am Sonntag, den 15.11.2009, 12:04 +0100 schrieb Robert Millan: > On Sat, Nov 14, 2009 at 10:16:45PM +0100, Felix Zielcke wrote: > > Am Mittwoch, den 04.11.2009, 11:48 +0100 schrieb Felix Zielcke: > > > > > > Thanks to the hint from rubisher I looked now at Linux Makefiles. > > > They use this: > >

Re: [PATCH] Add -nostdinc to TARGET_CFLAGS

2009-11-15 Thread Robert Millan
On Sun, Nov 15, 2009 at 12:04:58PM +0100, Robert Millan wrote: > On Sat, Nov 14, 2009 at 10:16:45PM +0100, Felix Zielcke wrote: > > Am Mittwoch, den 04.11.2009, 11:48 +0100 schrieb Felix Zielcke: > > > > > > Thanks to the hint from rubisher I looked now at Linux Makefiles. > > > They use this: > >

Re: [PATCH] Re: Bug in read_handler_list (autoloading) ???

2009-11-15 Thread Robert Millan
On Sat, Nov 14, 2009 at 10:11:31PM +0100, Felix Zielcke wrote: > Am Samstag, den 14.11.2009, 16:35 +0100 schrieb Robert Millan: > > On Fri, Nov 13, 2009 at 11:43:52PM +0100, Vladimir 'phcoder' Serbinenko > > wrote: > > > Why are all handlers are removed on normal.mod unload? If user e.g. > > > rel

Re: [PATCH] Add -nostdinc to TARGET_CFLAGS

2009-11-15 Thread Robert Millan
On Sat, Nov 14, 2009 at 10:16:45PM +0100, Felix Zielcke wrote: > Am Mittwoch, den 04.11.2009, 11:48 +0100 schrieb Felix Zielcke: > > > > Thanks to the hint from rubisher I looked now at Linux Makefiles. > > They use this: > > > > NOSTDINC_FLAGS += -nostdinc -isystem $(shell $(CC) -print-file-name