[PATCH] Add specific functions for Apple Platforms

2014-06-21 Thread Yves Blusseau
This patch add specific functions for Apple platforms specific-apple-platforms-functions.patch Description: Binary data Can i commit it ? Regards, Yves___ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel

Add specific functions for Apple Platforms

2014-05-02 Thread Yves Blusseau
This patch add specific functions for Apple platforms specific-apple-platforms-functions.patch Description: Binary data Regards, Yves___ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel

Re: Patch to compile grub2 with Apple compiler

2014-05-02 Thread Yves Blusseau
Le 20 avr. 2014 à 16:10, Vladimir 'φ-coder/phcoder' Serbinenko a écrit : > On 12.04.2014 19:54, Yves Blusseau wrote: >> >> Le 12 avr. 2014 à 19:06, Andrey Borzenkov a écrit : >> >>> В Sat, 12 Apr 2014 13:27:57 +0200 >>> Yves Blusseau пише

Re: Patch to compile grub2 with Apple compiler

2014-04-12 Thread Yves Blusseau
Le 12 avr. 2014 à 19:06, Andrey Borzenkov a écrit : > В Sat, 12 Apr 2014 13:27:57 +0200 > Yves Blusseau пишет: > >> The "i386-pc" version built from OSX doesn't work. >> It will only display Grub Loading… >> > > On which platform? i386

Re: Patch to compile grub2 with Apple compiler

2014-04-12 Thread Yves Blusseau
The "i386-pc" version built from OSX doesn't work. It will only display Grub Loading… Regards, Yves smime.p7s Description: S/MIME cryptographic signature ___ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel

Re: Patch to compile grub2 with Apple compiler

2014-04-12 Thread Yves Blusseau
Le 10 avr. 2014 à 23:20, Vladimir 'φ-coder/phcoder' Serbinenko a écrit : > On 09.04.2014 13:11, Yves Blusseau wrote: >> Is this patch ok ? >> Is yes can i commit it ? >> > Did you test it? Yes i test it. Compile grub (EFI) on OSX 10.8.5 (Mountain Lion) with X

Re: Patch to compile grub2 with Apple compiler

2014-04-09 Thread Yves Blusseau
Is this patch ok ? Is yes can i commit it ? declare-__bzero-apple-compiler.patch Description: Binary data Regards, Yves smime.p7s Description: S/MIME cryptographic signature ___ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mail

Re: Patch to compile grub2 with Apple compiler

2014-04-08 Thread Yves Blusseau
Le 8 avr. 2014 à 11:00, Vladimir 'phcoder' Serbinenko a écrit : > > On 8 Apr 2014 10:55, "Yves Blusseau" wrote: > > > > Hi Vladimir, > > > > this patch is needed because the declaration of __bzero must made also for > > non util

Re: Patch to compile grub2 with Apple compiler

2014-04-08 Thread Yves Blusseau
if GRUB_UTIL is defined. Regards, Yves Le 7 avr. 2014 à 21:51, Vladimir 'φ-coder/phcoder' Serbinenko a écrit : > On 07.04.2014 13:21, Yves Blusseau wrote: >> Hi, >> >> this is a patch to allow compilation of grub2 with Apple Compiler >> >> > Why

Patch to compile grub2 with Apple compiler

2014-04-07 Thread Yves Blusseau
Hi, this is a patch to allow compilation of grub2 with Apple Compiler apple__bzero-declaration.patch Description: Binary data Regards, Yves Blusseau smime.p7s Description: S/MIME cryptographic signature ___ Grub-devel mailing list Grub-devel

[PATCH] Fix print messages

2012-06-26 Thread Yves Blusseau
Hi, The attached patch fixes the printing of help messages on platform that have a shell that don't support the -n option in the built-in echo command. Yves. fix-print-messages.patch Description: Binary data smime.p7s Description: S/MIME cryptographic signature __

[PATCH 2] Display the path of the file when file is not found

2011-06-26 Thread Yves Blusseau
* grub-core/fs/fat.c: Display the filename when file is not found. * grub-core/fs/fshelp.c: Likewise. * grub-core/fs/hfs.c: Likewise. * grub-core/fs/jfs.c: Likewise. * grub-core/fs/minix.c: Likewise. * grub-core/fs/ufs.c: Likewise. * grub-core

Re: Problem with at_keyboard module

2011-06-24 Thread Yves Blusseau
Le 20/06/2011 09:18, Yves Blusseau a écrit : Hi all, i have some problems with the at_keyboard module: when the at_keyboard is loaded in memory (via insmod or directly include in core.img) the keyboard is freezed when i start another "kernel" with multiboot command for example. M

Error: prefix not set

2011-06-20 Thread Yves Blusseau
add in core.img. When i start my PC the grub kernel is load normaly but when it switch to normal mode the error "prefix not set" is displayed on the screen. I have check and the prefix is good in the rescue shell and in normal mode. This message is only display if the normal modul

Problem with at_keyboard module

2011-06-20 Thread Yves Blusseau
27;t switch the terminal_input to at_keyboard. Regards, Yves Blusseau ___ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel

Re: Your contributions to grub.enbug.org

2011-04-01 Thread Yves Blusseau
ted to the wiki, would you agree to consider that your contributor agreement covers wiki as well? No problem for me too. Regards, Yves Blusseau smime.p7s Description: S/MIME Cryptographic Signature ___ Grub-devel mailing list Grub-devel@gn

[PATCH] Fix generation of kernel_syms.lst (bad ASM_PREFIX)

2010-09-25 Thread Yves Blusseau
* grub-core/Makefile.am (kernel_syms.lst): Fix value and position of ASM_PREFIX --- ChangeLog.fix-ASM_PREFIX |4 grub-core/Makefile.am|6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) create mode 100644 ChangeLog.fix-ASM_PREFIX diff --git a/ChangeLog.fix

[PATCH] Display the path of the file when file is not found

2010-09-25 Thread Yves Blusseau
* grub-core/fs/fat.c: Display the filename when file is not found. * grub-core/fs/fshelp.c: Likewise. * grub-core/fs/hfs.c: Likewise. * grub-core/fs/jfs.c: Likewise. * grub-core/fs/minix.c: Likewise. * grub-core/fs/ufs.c: Likewise. --- ChangeLog.file

[PATCH] Add missing includes.

2010-09-23 Thread Yves Blusseau
* grub-core/lib/LzmaEnc.c: Likewise. * grub-core/script/lexer.c: Likewise. * grub-core/script/yylex.l: Likewise. * util/grub-macho2img.c: Likewise. * util/grub-menulst2cfg.c: Likewise. * util/grub-mklayout.c: Likewise. * util/grub-mkpasswd-pbkdf2.c * util/grub-mkrelp

Re: grub2 bzr mainline make error

2010-09-21 Thread Yves Blusseau
Le 21/09/2010 13:02, KESHAV P.R. a écrit : On Tue, Sep 21, 2010 at 15:43, Yves Blusseau wrote: Le 21/09/2010 10:38, KESHAV P.R. a écrit : Grub2 bzr mainline rev 2830 does not compile for both x86_64-efi and i386-pc. Seems like some error due to gnulib. I have attached the output while

Re: grub2 bzr mainline make error

2010-09-21 Thread Yves Blusseau
Le 21/09/2010 10:38, KESHAV P.R. a écrit : Grub2 bzr mainline rev 2830 does not compile for both x86_64-efi and i386-pc. Seems like some error due to gnulib. I have attached the output while compiling for x86_64-efi. One include what wrong. Corrected in revision 2835. Regards, Yves Blusseau

[PATCH] Keep boot and grub directory names in sync with utils scripts

2010-09-19 Thread Yves Blusseau
* configure.ac: Define GRUB_BOOT_DIR_NAME and GRUB_DIR_NAME macros. * include/grub/emu/misc.h (DEFAULT_DIRECTORY): Use previous macros. --- configure.ac|4 include/grub/emu/misc.h |5 +++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/configure.ac

[PATCH] grub-editenv.c: Use argp instead of getopt.

2010-09-15 Thread Yves Blusseau
-editenv b/ChangeLog.argp-grub-editenv new file mode 100644 index 000..47fa789 --- /dev/null +++ b/ChangeLog.argp-grub-editenv @@ -0,0 +1,3 @@ +2010-09-14 Yves Blusseau + + * util/grub-editenv.c: Use argp instead of getopt. diff --git a/util/grub-editenv.c b/util/grub-editenv.c index 75cccd0

[PATCH] grub-setup.c: Use argp instead of getopt.

2010-09-15 Thread Yves Blusseau
Using argp instead of getopt for the new unified grub-setup --- util/grub-setup.c | 364 + 1 files changed, 201 insertions(+), 163 deletions(-) diff --git a/util/grub-setup.c b/util/grub-setup.c index 55d740f..ca438fe 100644 --- a/util/grub-set

[PATCH] grub-setup.c: Use argp instead of getopt.

2010-09-14 Thread Yves Blusseau
new file mode 100644 index 000..0731c00 --- /dev/null +++ b/ChangeLog.argp-grub-setup @@ -0,0 +1,3 @@ +2010-09-14 Yves Blusseau + + * util/i386/pc/grub-setup.c: Use argp instead of getopt. diff --git a/util/i386/pc/grub-setup.c b/util/i386/pc/grub-setup.c index 987e2d0..3070f81 100644

[PATCH] grub-setup.c: Use argp instead of getopt.

2010-09-13 Thread Yves Blusseau
mode 100644 index 000..50e1b2c --- /dev/null +++ b/ChangeLog.argp-grub-setup @@ -0,0 +1,3 @@ +2010-09-13 Yves Blusseau + + * util/i386/pc/grub-setup.c: Use argp instead of getopt. diff --git a/util/i386/pc/grub-setup.c b/util/i386/pc/grub-setup.c index 987e2d0..f23f1ac 100644 --- a/util

[PATCH] * Makefile.util.def: Put the generated scripts nearby sources

2010-09-10 Thread Yves Blusseau
--- ChangeLog |4 Makefile.util.def | 20 ++-- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/ChangeLog b/ChangeLog index fb6b19b..e9d0903 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2010-09-10 Yves Blusseau

[PATCH 2/2] Use new variable defined by configure.ac

2010-09-08 Thread Yves Blusseau
* util/grub-mkconfig.in: Use new variable. --- ChangeLog.use-new-variables |3 +++ util/grub-mkconfig.in | 16 +++- 2 files changed, 6 insertions(+), 13 deletions(-) create mode 100644 ChangeLog.use-new-variables diff --git a/ChangeLog.use-new-variables b/ChangeLog

[PATCH] Bash completion script for util commands

2010-09-08 Thread Yves Blusseau
* Makefile.am: Add util/bash-completion.d directory * configure.ac: Likewise. * util/bash-completion.d/Makefile.am: New file. * util/bash-completion.d/grub-completion.bash.in: Likewise. --- util/bash-completion.d/Makefile.am | 13 + util/bash-completion.d/grub-comple

[PATCH 1/2] Define some useful variables

2010-09-08 Thread Yves Blusseau
* configure.ac: Define some useful variables. --- ChangeLog.new-variables |3 +++ configure.ac| 13 + 2 files changed, 16 insertions(+), 0 deletions(-) create mode 100644 ChangeLog.new-variables diff --git a/ChangeLog.new-variables b/ChangeLog.new-variables n

[PATCH] Add new --boot-directory option to replace --root-directory

2010-09-08 Thread Yves Blusseau
* util/grub-install.in: Add new --boot-directory option * util/grub-reboot.in: Likewise. * util/grub-set-default.in: Likewise. * util/grub-mkconfig.in: Use new variable. --- ChangeLog.bootdir-option |5 + util/grub-install.in | 45 +

[PATCH] Add new --boot-directory option to replace --root-directory

2010-09-06 Thread Yves Blusseau
* util/grub-install.in: Add new --boot-directory option * util/grub-reboot.in: Likewise. * util/grub-set-default.in: Likewise. * util/grub-mkconfig.in: Use new variable. --- ChangeLog.bootdir-option |5 + util/grub-install.in | 46 +

[PATCH] Bash completion script for util commands

2010-09-06 Thread Yves Blusseau
* Makefile.am: Add util/bash-completion.d directory * configure.ac: Likewise. * util/bash-completion.d/Makefile.am: New file. * util/bash-completion.d/grub-completion.bash.in: Likewise. --- ChangeLog.completion.bash |6 Makefile.am

[PATCH 2/2] Use new variable defined by configure.ac

2010-09-06 Thread Yves Blusseau
* util/grub-mkconfig.in: Use new variable. --- ChangeLog.use-new-variables |3 +++ util/grub-mkconfig.in | 16 +++- 2 files changed, 6 insertions(+), 13 deletions(-) create mode 100644 ChangeLog.use-new-variables diff --git a/ChangeLog.use-new-variables b/ChangeLog

[PATCH 1/2] Define some useful variables

2010-09-06 Thread Yves Blusseau
* configure.ac: Define some useful variables. --- ChangeLog.new-variables |3 +++ configure.ac| 12 2 files changed, 15 insertions(+), 0 deletions(-) create mode 100644 ChangeLog.new-variables diff --git a/ChangeLog.new-variables b/ChangeLog.new-variables ne

Re: [PATCH 0/2] Add some usefull variables

2010-09-02 Thread Yves Blusseau
Le 02/09/2010 04:24, BVK Chaitanya a écrit : You forget to attach the patch? No the patchs (1 and 2) are on the ML smime.p7s Description: S/MIME Cryptographic Signature ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/lis

[PATCH] Bash completion script for util commands

2010-09-01 Thread Yves Blusseau
* Makefile.am: Add util/bash-completion.d directory * configure.ac: Likewise. * util/bash-completion.d/Makefile.am: New file. * util/bash-completion.d/grub-completion.bash.in: Likewise. --- ChangeLog.completion.bash |6 Makefile.am

[PATCH 1/2] Define some usefull variables

2010-09-01 Thread Yves Blusseau
* configure.ac: Define some usefull variables. --- ChangeLog.new-variables |2 ++ configure.ac| 15 +++ 2 files changed, 17 insertions(+), 0 deletions(-) create mode 100644 ChangeLog.new-variables diff --git a/ChangeLog.new-variables b/ChangeLog.new-variables

[PATCH 2/2] Use the new created variables

2010-09-01 Thread Yves Blusseau
* util/grub-install.in: Use default variables. * util/grub-mkconfig.in: Likewise. * util/grub-reboot.in: Likewise. * util/grub-set-default.in: Likewise. --- ChangeLog.use-new-variables |6 ++ util/grub-install.in| 19 +++ util/grub-

[PATCH 0/2] Add some usefull variables

2010-09-01 Thread Yves Blusseau
-variables -- Yves Blusseau ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

[PATCH] Bash completion script for grub util commands

2010-08-11 Thread Yves Blusseau
create mode 100644 util/integration/completion/grub-completion.bash diff --git a/ChangeLog.completion.bash b/ChangeLog.completion.bash new file mode 100644 index 000..8b1fea9 --- /dev/null +++ b/ChangeLog.completion.bash @@ -0,0 +1,3 @@ +2010-08-11 Yves Blusseau + + * util/integration

Found a regression

2010-08-01 Thread Yves Blusseau
works if i list all the partitions by page (using return). Regards, Yves Blusseau smime.p7s Description: S/MIME cryptographic signature ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: Compilation error of xorriso on MacOSX

2010-04-13 Thread Yves Blusseau
a VL_LIB_READLINE macro that check if readline compatible library exists and check if readline supports history. Perhaps that can help you. I will make a MacPorts file so that xorriso can be build without problems on OSX. Regards, Yves Blusseau smime.p7s Description: S/MIME Cryptographic

Re: Compilation error of xorriso on MacOSX

2010-04-13 Thread Yves Blusseau
environnement variable to "force" the linker to use the version in /opt/local/lib instead of /usr/lib ? Regards, Yves Blusseau smime.p7s Description: S/MIME Cryptographic Signature ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Problem Compiling gnulib/getdelim on MacOSX

2010-04-12 Thread Yves Blusseau
2175). But i know that we can't modify getdelim.c directly because is it imported. So if someone have an idea to solve this problem on OSX.. Regards, Yves Blusseau smime.p7s Description: S/MIME Cryptographic Signature ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Problem compiling grub 1.98 on MacOSX

2010-04-12 Thread Yves Blusseau
to section (__DWARF,__debug_line) collect2: ld returned 1 exit status make: *** [diskboot.exec] Error 1 If i had .byte 0 at the end of boot/i386/pc/diskboot.S the error is removed but the size of diskboot.img is 544 bytes instead of 512. Best regards, Yves Blusseau smime.p7s Descripti

Re: [PATCH] Fix use of ENABLE_NLS (which is not always defined)

2010-01-25 Thread Yves Blusseau
, any objections ? Yves Blusseau smime.p7s Description: S/MIME Cryptographic Signature ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: keyboard layouts

2010-01-13 Thread Yves Blusseau
/share/X11/xkb/symbols files and generates the files that Grub will read. Code to read this files would be much easier than before. Same thing. Regards, Yves Blusseau smime.p7s Description: S/MIME Cryptographic Signature ___ Grub-devel mailing list

[PATCH 3/3] Compilation with external intl library

2009-12-31 Thread Yves Blusseau
2009-12-31 Yves Blusseau * util/mkisofs/mkisofs.c: fix a warning about a bad cast when NLS is disabled --- ChangeLog.bad-cast |6 ++ util/mkisofs/mkisofs.c |2 +- 2 files changed, 7 insertions(+), 1 deletions(-) create mode 100644 ChangeLog.bad-cast diff --git

[PATCH 2/3] Compilation with external intl library

2009-12-31 Thread Yves Blusseau
2009-12-31 Yves Blusseau * configure.ac: check external intl library * Makefile.in: add compiler and linker flags to properly compile with intl library * include/grub/i18n.h: add a check to disable NLS * util/misc.c (grub_util_init_nls): new function

[PATCH 1/3] Compilation with external intl library

2009-12-31 Thread Yves Blusseau
From: Yves 2009-12-31 Yves Blusseau * config.rpath: new file used to configure compilation with NLS --- ChangeLog.config.rpath |5 config.rpath | 666 2 files changed, 671 insertions(+), 0 deletions(-) create mode

[PATCH] Compilation with external intl library

2009-12-31 Thread Yves Blusseau
atform like Mac OSX, the macro add the proper compile and link flags (ex: -lintl -liconv -lc -Wl,-framework -Wl,CoreFoundation in OSX) Best Regards, Yves Blusseau PS: if it ok i'll commit this patch and will add another one to make on error if the intl library can't be use and show al

[PATCH] compilation with external intl library

2009-12-30 Thread Yves Blusseau
r platform like Mac OSX, the macro add the proper compile and link flags (ex: -lintl -liconv -lc -Wl,-framework -Wl,CoreFoundation in OSX) Best Regards, Yves Blusseau PS: if it ok i'll commit this patch and will add another one to make on error if the intl library can't be use and sh

Compilation under MacOSX

2009-12-29 Thread Yves Blusseau
b_mkpasswd_pbkdf2-util_grub_mkpasswd_pbkdf2.o _main in grub_mkpasswd_pbkdf2-util_grub_mkpasswd_pbkdf2.o ld: symbol(s) not found collect2: ld returned 1 exit status make: *** [grub-mkpasswd-pbkdf2] Error 1 seems that the getline function is not defined anywhere. Best regards, Yves Blusseau

Re: [PATCH,HURD] Fix GNU/Hurd menu entry generation

2009-11-03 Thread Yves Blusseau
the wildcard in the hurd case: case ${BOOT} in ... ... hurd|***) cat << EOF menuentry "${LONGNAME} (on ${DEVICE})" { EOF .... Regards, Yves Blusseau smime.p7s Description: S/MIME Cryptographic Signature ___ Grub-devel mailing

Re: [Report] can't build the current svn version of grub2

2009-10-29 Thread Yves Blusseau
Vladimir 'phcoder' Serbinenko a écrit : Yves Blusseau wrote: Hi all, i can't compile the current version of grub2 on my linux system: gcc -Iscript/sh -I./script/sh -I. -I./include -I./include -Wall -W -DGRUB_LIBDIR=\"/usr/local/lib/`echo grub/i386-pc | sed 's,x,x,

[Report] can't build the current svn version of grub2

2009-10-29 Thread Yves Blusseau
ript/sh/lexer.c script/sh/lexer.c:25:29: erreur: grub_script.tab.h : Aucun fichier ou dossier de ce type script/sh/lexer.c: In function ‘grub_script_yylex’: Seems it doesn't find the file grub_script.tab.h Regards, Yves Blusseau smime.p7s Description:

[Report] Can't compile grub on OSX

2009-09-20 Thread Yves Blusseau
dXX.c:226: warning: ‘shdr’ may be used uninitialized in this function make: *** [bsd_mod-loader_i386_bsd32.o] Error 1 Regards, Yves Blusseau smime.p7s Description: S/MIME cryptographic signature ___ Grub-devel mailing list Grub-devel@gnu.org

Re: [PATCH] Change clean rules to properly remove files

2009-09-12 Thread Yves Blusseau
Le 6 sept. 09 à 16:57, Robert Millan a écrit : On Sun, Sep 06, 2009 at 02:19:54PM +0200, Yves Blusseau wrote: Is it ok to commit ? Please wait a few more days. It's doubtful that anyone would be interested (and capable) of reviewing ruby code, but it's still worth a try.

Re: Report: compil error on OSX for target=i386

2009-09-08 Thread Yves Blusseau
Le 8 sept. 09 à 16:41, Robert Millan a écrit : On Sun, Sep 06, 2009 at 08:56:59PM +0200, Yves Blusseau wrote: Bad news grub not compiled on a GCC 4.4.1 from MacPorts: gcc-mp-4.4 -Iloader/i386 -I./loader/i386 -I. -I./include -I./ include - Wall -W -Wall -W -Wshadow -Wpointer-arith

Re: Report: compil error on OSX for target=i386

2009-09-06 Thread Yves Blusseau
Le 6 sept. 09 à 16:54, Robert Millan a écrit : On Sun, Sep 06, 2009 at 06:55:41AM +0200, Yves Blusseau wrote: Le 5 sept. 09 à 22:31, Robert Millan a écrit : On Sat, Sep 05, 2009 at 03:17:58PM +0200, Michal Suchanek wrote: Still the time and space required to build GCC is much larger than

Re: Report: compil error on OSX for target=i386

2009-09-06 Thread Yves Blusseau
binutils? Yep i will try to find a way to compil with Mac Ports version of GCC on MacOSX Regards, Yves Blusseau smime.p7s Description: S/MIME cryptographic signature ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: [PATCH] Change clean rules to properly remove files

2009-09-06 Thread Yves Blusseau
Le 6 sept. 09 à 17:18, Duboucher Thomas a écrit : -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Robert Millan a écrit : On Sun, Sep 06, 2009 at 02:19:54PM +0200, Yves Blusseau wrote: Is it ok to commit ? Please wait a few more days. It's doubtful that anyone would be interested

Re: Report: compil error on OSX for target=i386

2009-09-06 Thread Yves Blusseau
Le 6 sept. 09 à 16:54, Robert Millan a écrit : On Sun, Sep 06, 2009 at 06:55:41AM +0200, Yves Blusseau wrote: Le 5 sept. 09 à 22:31, Robert Millan a écrit : On Sat, Sep 05, 2009 at 03:17:58PM +0200, Michal Suchanek wrote: Still the time and space required to build GCC is much larger than

Re: [PATCH] Change clean rules to properly remove files

2009-09-06 Thread Yves Blusseau
Le 2 sept. 09 à 18:48, Yves Blusseau a écrit : ChangeLog: 2009-09-02 Yves Blusseau Change clean rules to properly remove files * genmk.rb: add new clean rules * Makefile.in (clean): add the new targets (mostlyclean): likewise --- Makefile.in |4 ++-- genmk.rb| 55

Re: Report: compil error on OSX for target=i386

2009-09-05 Thread Yves Blusseau
with software like Fink or MacPorts (http://www.macports.org/) Regards, Yves Blusseau smime.p7s Description: S/MIME cryptographic signature ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: Report: compil error on OSX for target=i386

2009-09-05 Thread Yves Blusseau
Le 4 sept. 09 à 13:48, Robert Millan a écrit : On Thu, Sep 03, 2009 at 11:01:23PM +0200, Yves Blusseau wrote: It's much easier to make official GCC a build requirement. People hacking on GRUB source, or distributors (e.g. Fink) should have no problem with a dependency on GCC. So wha

[PATCH] Fix maintainer-clean rule

2009-09-05 Thread Yves Blusseau
ChangeLog: 2009-09-05 Yves Blusseau * Makefile.in (RMKFILES): add i386-qemu.rmk (MAINTAINER_CLEANFILES): add $(srcdir)/DISTLIST $(srcdir)/config.h.in $(srcdir)/stamp-h.in --- ChangeLog |6 ++ Makefile.in |5 +++-- 2 files changed, 9 insertions(+), 2 deletions

Re: Report: compil error on OSX for target=i386

2009-09-03 Thread Yves Blusseau
Le 1 sept. 09 à 13:46, Robert Millan a écrit : On Mon, Aug 31, 2009 at 11:10:17PM +0200, Yves Blusseau wrote: What about following compromise: diff --git a/loader/i386/linux.c b/loader/i386/linux.c index 4144384..1380eb8 100644 --- a/loader/i386/linux.c +++ b/loader/i386/linux.c @@ -543,7

[PATCH] Change clean rules to properly remove files

2009-09-02 Thread Yves Blusseau
ChangeLog: 2009-09-02 Yves Blusseau Change clean rules to properly remove files * genmk.rb: add new clean rules * Makefile.in (clean): add the new targets (mostlyclean): likewise --- Makefile.in |4 ++-- genmk.rb| 55

[PATCH] Embedding loadenv module into grub-emu

2009-09-02 Thread Yves Blusseau
ChangeLog: 2009-09-02 Yves BLUSSEAU Embedding loadenv module into grub-emu * conf/i386-pc.rmk (grub_emu_SOURCES): add lib/envblk.c and commands/loadenv.c * conf/i386-coreboot.rmk (grub_emu_SOURCES): Likewise * conf/i386-efi.rmk (grub_emu_SOURCES): Likewise * conf/i386

Re: [RFC] Eliminate NESTED_ATTR_FUNC

2009-09-01 Thread Yves Blusseau
Oh, I was wrong previously, gcc does respect __attribute__ ((__regparm__ (3))) flag (I forget to add -Os so it still uses stack to store value). And the bug is still there ! Try this test program: Compile with: gcc -m32 -mregparm=3 -Os test.c ./a.out 10 31 -6674368 gcc is 4.3.4 from debian.

Re: [RFC] Eliminate NESTED_ATTR_FUNC

2009-09-01 Thread Yves Blusseau
ue" that made that we can't run tool on OSX directly. Regards, Yves Blusseau smime.p7s Description: S/MIME cryptographic signature ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: Report: compil error on OSX for target=i386

2009-08-31 Thread Yves Blusseau
code32_start)); #endif Is this compromise acceptable? Compil and work on OSX. Is it ok to commit it ? Regards, Yves Blusseau smime.p7s Description: S/MIME cryptographic signature ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: [RFC] Long environment variables.

2009-08-31 Thread Yves Blusseau
Currently we don't have a reliable autodetector to pass hardware info to xnu kernel. I wanted to let user specify it through environment variables - it allows user to e.g. correct wrong entry in dump at boot time. E.g: XNU.DeviceProperties.0.path.0=ACPI:167985616:0 XNU.DeviceProperties.0.path.1=PC

Re: [Bug Report] loadenv module

2009-08-31 Thread Yves Blusseau
On Sat, Aug 29, 2009 at 10:03 PM, Yves Blusseau wrote: Hi, i have compiled the current version of grub2 under OSX. I have an error when using the loadenv module: I don't have any grub.cfg file. When i was at the prompt i do a save_env timeout and grub return me an "out of

Re: [Bug Report] loadenv module

2009-08-29 Thread Yves Blusseau
import in the environement. Another usefull information, the problem came from loadenv module compiled on OSX because if i take only the loadenv.mod compiled on linux it's work. Regards, Yves Blusseau ___ Grub-devel mailing list Gru

Re: [PATCH] Fix hfsplus.

2009-08-28 Thread Yves Blusseau
Le 22 août 09 à 21:43, Vladimir 'phcoder' Serbinenko a écrit : Hello. In multiple places hfsplus aborts if read_file returns 0. But in this case grub_error isn't set so the errors aren't propagated. Here is fix. Compiled and checked on OSX: great job, no more grub crash in case of AppleRaid

[Bug Report] loadenv module

2009-08-28 Thread Yves Blusseau
import in the environement. Best regards, Yves Blusseau ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: pc.mod -> part_msdos.mod (etc)

2009-08-28 Thread Yves Blusseau
As was discussed in http://www.mail-archive.com/grub-devel@gnu.org/msg06210.html I intend to prefix all partmap modules with "part_" and rename "pc" to "part_msdos". If anyone has an objection, please say it now. Is it normal that i see gpt when i do a lsmod instead of part_gpt ? Sorry i m

Re: pc.mod -> part_msdos.mod (etc)

2009-08-28 Thread Yves Blusseau
instead of part_gpt ? Regards, Yves Blusseau ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: [PATCH] make search faster by first trying without module autoloading

2009-08-15 Thread Yves Blusseau
Le 14 août 09 à 17:58, Vladimir 'phcoder' Serbinenko a écrit : Hello. When search encounters an unknown filesystem or filesystem without partition it triggers fs module autoload which takes noticeable time. To improve the situation I propose (after discussing with Robert Millan) to first search

Re: Patch to compile boot.img properly on OSX

2009-08-15 Thread Yves Blusseau
Le 14 août 09 à 23:55, Pavel Roskin a écrit : On Thu, 2009-08-13 at 02:24 -0400, Pavel Roskin wrote: Since Yves is interested perhaps he could do the "dirty job" of applying repetitive fixes and testing different images? And submit a patch then? Fine with me. I have fixed the *.img files

Re: RFC: 1.97 roadmap

2009-08-12 Thread Yves Blusseau
fancy event handling, builds on existing facilities), although I agree with the suggestions from Robert/Pavel that the save step should be a single command/function. I use the vladimir patch in my grub and it work like a charm. I think it's a good approach too. Yves Blusseau smim

Re: [PATCH] RFT: Rename local labels with a macro from boot/i386/pc/boot.S

2009-08-08 Thread Yves Blusseau
Le 8 août 09 à 16:55, Vladimir 'phcoder' Serbinenko a écrit : On Sat, Aug 8, 2009 at 4:48 PM, Yves Blusseau wrote: Here a patch to be apply after the 2 pavel's patch (Eliminate Apple specific code and Remove ABS macro). This patch create a new macro LOCAL to define local la

[PATCH] RFT: Rename local labels with a macro from boot/i386/pc/boot.S

2009-08-08 Thread Yves Blusseau
e new generated file without a problem. Yves Blusseau ChangeLog: * include/grub/symbol.h: add the LOCAL macro. * boot/i386/pc/boot.S: Rename all local labels starting with "L_" with the new macro: LOCAL. --- boot/i386/pc/boot.S | 66 +

Report: compil error on OSX for target=i386

2009-08-08 Thread Yves Blusseau
c:563: error: can't find a register in class ‘BREG’ while reloading ‘asm’ make: *** [linux_mod-loader_i386_linux.o] Error 1 Yves Blusseau ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: [PATCH] ntldr support

2009-08-08 Thread Yves Blusseau
4dos) that will try to detect the type of the bootloader. This is only my personal opinion. Yves Blusseau ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Bug report: crash of grub in case of AppleRaid partitions

2009-08-08 Thread Yves Blusseau
ub_errno; + return grub_error (GRUB_ERR_BAD_FS, "file not found"); } but it told me that a lot of other places have the same bug. Yves Blusseau ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

bootmgr support

2009-08-06 Thread Yves Blusseau
st Regards, Yves Blusseau ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Patch to compile boot.img properly on OSX

2009-07-29 Thread Yves Blusseau
Hi, Pavel, is it ok to commit the patch so we can generate boot.img from OSX ? (using L_ label as far as i remember). Regards, Yves Blusseau ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

[PATCH] Support for OSX (replace the old one)

2009-07-19 Thread Yves Blusseau
es. Best Regards Yves Blusseau osx_support.diff Description: Binary data ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

[PATCH] Support for OSX (replace the old one)

2009-07-19 Thread Yves Blusseau
es. Best Regards Yves Blusseau ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: [PATCH] Support for OSX

2009-07-16 Thread Yves Blusseau
Le 16 juil. 09 à 21:19, Pavel Roskin a écrit : On Thu, 2009-07-16 at 19:45 +0200, Yves Blusseau wrote: Hi, here's a patch so grub-setup can be compiled and work on MacOSX. # if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) if (ioctl (fd, DIOCGMEDIASIZE, &nr)) +# eli

[PATCH] Support for OSX

2009-07-16 Thread Yves Blusseau
Hi, here's a patch so grub-setup can be compiled and work on MacOSX. The only problem remaining is trampoline (nested functions), because OSX don't want to execute code in the heap. Best Regards Yves Blusseau osx_support.diff Description: B

Re: [PATCH] unused constants in i386/boot.h

2009-07-15 Thread Yves Blusseau
Pavel Roskin a écrit : On Tue, 2009-07-14 at 19:37 +0200, Robert Millan wrote: On Sun, Jul 12, 2009 at 09:21:07AM -0400, Pavel Roskin wrote: Quoting Yves Blusseau : As long as boot/i386/pc/boot.S has the variables whose offset

Re: [PATCH] unused constants in i386/boot.h

2009-07-12 Thread Yves Blusseau
On Thu, Jul 09, 2009 at 10:45:43AM +0200, Yves Blusseau wrote: style="font-family: -moz-fixed; font-size: 13px;" lang="x- western">Here's the patch to remove unused constants. The real constants used are GRUB_BOOT_MACHINE_KERNEL_ADDR and GRUB_BOOT_MACHINE_K

[PATCH] unused constants in i386/boot.h

2009-07-09 Thread Yves Blusseau
Here's the patch to remove unused constants. The real constants used are GRUB_BOOT_MACHINE_KERNEL_ADDR and GRUB_BOOT_MACHINE_KERNEL_SEG. Best Regards, Yves Blusseau diff --git a/ChangeLog b/ChangeLog index 3fe273f..f8b098a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-

Re: boot.img Fix

2009-07-08 Thread Yves BLUSSEAU
Pavel Roskin a écrit : On Tue, 2009-07-07 at 10:08 +0200, Yves BLUSSEAU wrote: Hi, there is a "bug" in boot.img: if you install the boot.img into the volume boot sector of a FAT32 partition instead of MBR (i know it's a bad idea), you "destroyed" the

boot.img Fix

2009-07-07 Thread Yves BLUSSEAU
t;HD" because i needed 2 extras bytes and do not want to change the working code of the boot. Now the bootloader (boot.img) can be install on any FAT volume partitions. Best Regards, Yves Blusseau commit 1890e0781d4e210c6076568a81899ed598319249 Author: Yves Blusseau Date: Tue J

  1   2   >