Re: Patch for export IP addresses from PXE into grub2 enviroment variables

2009-10-15 Thread Felix Zielcke
Am Mittwoch, den 14.10.2009, 23:53 -0700 schrieb Seth Goldberg: > Hi, > >That's actually not sufficient -- we need the entire DHCPACK to be passed > (somehow) to the loading kernel. I've discussed this a bit with phcoder, and > he suggested adding another member to the multiboot structure o

Re: Patch for export IP addresses from PXE into grub2 enviroment variables

2009-10-15 Thread Seth Goldberg
Quoting Felix Zielcke, who wrote the following on Thu, 15 Oct 2009: Am Mittwoch, den 14.10.2009, 23:53 -0700 schrieb Seth Goldberg: Hi, That's actually not sufficient -- we need the entire DHCPACK to be passed (somehow) to the loading kernel. I've discussed this a bit with phcoder, and h

Re: Patch for export IP addresses from PXE into grub2 enviroment variables

2009-10-15 Thread Vladimir 'phcoder' Serbinenko
Seth Goldberg wrote: > > > Quoting Felix Zielcke, who wrote the following on Thu, 15 Oct 2009: > >> Am Mittwoch, den 14.10.2009, 23:53 -0700 schrieb Seth Goldberg: >>> Hi, >>> >>>That's actually not sufficient -- we need the entire DHCPACK to >>> be passed >>> (somehow) to the loading kernel.

Re: Patch for export IP addresses from PXE into grub2 enviroment variables

2009-10-15 Thread Felix Zielcke
Am Donnerstag, den 15.10.2009, 00:51 -0700 schrieb Seth Goldberg: > > Quoting Felix Zielcke, who wrote the following on Thu, 15 Oct 2009: > > > Am Mittwoch, den 14.10.2009, 23:53 -0700 schrieb Seth Goldberg: > >> Hi, > >> > >>That's actually not sufficient -- we need the entire DHCPACK to be

Re: Patch for export IP addresses from PXE into grub2 enviroment variables

2009-10-15 Thread Yoann Moulin
>>> Having the Client IP avaible inside grub.cfg might be useful for some. >>> Then you could have one grub.cfg for all your machines and if one or a >>> small number of it needs some special stuff, you could just check for >>> the IP inside the grub.cfg. Then you don't need to use a seperate one >

Re: Patch for export IP addresses from PXE into grub2 enviroment variables

2009-10-15 Thread Seth Goldberg
Having the Client IP avaible inside grub.cfg might be useful for some. Then you could have one grub.cfg for all your machines and if one or a small number of it needs some special stuff, you could just check for the IP inside the grub.cfg. Then you don't need to use a seperate one for them.

Re: powerpc/sparc problems

2009-10-15 Thread Vladimir 'phcoder' Serbinenko
David Miller wrote: > From: Vladimir 'phcoder' Serbinenko > Date: Mon, 12 Oct 2009 12:26:04 +0200 > > >> It was removed as a part of following commit >> 2009-06-10 Pavel Roskin >> >> * configure.ac: Use -nostdlib when probing for the target. It >> should not be required to h

[BUGFIX] Fix rescue parser

2009-10-15 Thread Vladimir 'phcoder' Serbinenko
-- Regards Vladimir 'phcoder' Serbinenko Personal git repository: http://repo.or.cz/w/grub2/phcoder.git diff --git a/ChangeLog b/ChangeLog index b0864a9..55bdc92 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2009-10-15 Vladimir Serbinenko + * kern/parser.c (grub_parser_split_cmd

Re: [bug #27695] parser.sh ignores the closing quote when preceeded by a variable

2009-10-15 Thread Vladimir 'phcoder' Serbinenko
Andreas Born wrote: > URL: > > > Summary: parser.sh ignores the closing quote when preceeded > by a variable > Attached patch should fix this bug > Project: GNU GRUB > Submitted by: shador > Submitt

Re: Handling multiple cores by GRUB

2009-10-15 Thread James Courtier-Dutton
2009/10/14 Robert Millan : > But I don't think this would be desireable except in very specific situations, > and I'm not sure which ones.  Perhaps loading a compressed file would be an > example (so that uncompression and disk poll can be done in parallel). > Not specifically related, but why is

[PATCH] create variables when exporting them

2009-10-15 Thread Andreas Born
This patch changes grub_env_export to create variables with empty value, if necessary. This makes it possible to export variables before actually assigning them any value and is the way bash behaves. Thanks Andreas ChangeLog: 2009-10-15 Andreas Born * kern/env.c (grub_env_export): C

Re: [PATCH] create variables when exporting them

2009-10-15 Thread Colin Watson
On Thu, Oct 15, 2009 at 08:40:37PM +0200, Andreas Born wrote: > This patch changes grub_env_export to create variables with empty value, > if necessary. > This makes it possible to export variables before actually assigning > them any value and is the way bash behaves. This makes sense to me (

Re: [PATCH] create variables when exporting them

2009-10-15 Thread Andreas Born
Here you go: ChangeLog: 2009-10-15 Andreas Born * kern/env.c (grub_env_export): Create nonexistent variables before exporting. The mixed indentation (tabs and spaces) in kern/env.c was a bit confusing. Andreas Colin Watson schrieb: On Thu, Oct 15, 2009 at 08:40:37PM +0200, Andreas

Re: powerpc/sparc problems

2009-10-15 Thread Pavel Roskin
On Thu, 2009-10-15 at 13:58 +0200, Vladimir 'phcoder' Serbinenko wrote: > The methods discussed in this thread are good but aren't for release. So > I just reverted Pavel's commit My cross-build for sparc64 fails now: __bswapsi2 in fat is not defined This can be traced to the following part of