[PATCH] Speed up test suite by avoiding fsync

2013-11-27 Thread Colin Watson
Add grub_util_disable_fd_syncs call to turn grub_util_fd_sync calls into no-ops, and use it in programs that copy files but do not need to take special care to sync writes (grub-mknetdir, grub-rescue, grub-mkstandalone). On my laptop, this reduces partmap_test's runtime from 1236 seconds to 204 se

Re: [PATCH] Speed up test suite by avoiding fsync

2013-11-27 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 27.11.2013 11:13, Colin Watson wrote: > Add grub_util_disable_fd_syncs call to turn grub_util_fd_sync calls into > no-ops, and use it in programs that copy files but do not need to take > special care to sync writes (grub-mknetdir, grub-rescue, > grub-mkstandalone). > Go ahead. > On my laptop,

Re: 2.02 Release roadmap

2013-11-27 Thread Colin Watson
On Tue, Nov 26, 2013 at 10:49:57PM +0400, Andrey Borzenkov wrote: > What is the state of new-autogen branch? That's something I'd > definitely welcome as autogen is not present in all distros which makes > maintaining patches that touch build system rather unpleasant. That's on master now followin

Re: [Xen-devel] pvgrub2 is merged

2013-11-27 Thread Fabio Fantoni
Il 26/11/2013 19:12, Andrey Borzenkov ha scritto: В Tue, 26 Nov 2013 18:58:47 +0100 Fabio Fantoni пишет: I have also another question: Is possible specify multiple path where search the grub.cfg for support all mainly distributions and add a custom cfg path support taking it from arguments?

Re: [Xen-devel] pvgrub2 is merged

2013-11-27 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 27.11.2013 12:32, Fabio Fantoni wrote: > Il 26/11/2013 19:12, Andrey Borzenkov ha scritto: >> В Tue, 26 Nov 2013 18:58:47 +0100 >> Fabio Fantoni пишет: >> >>> I have also another question: >>> Is possible specify multiple path where search the grub.cfg for support >>> all mainly distributions a

Re: [Xen-devel] pvgrub2 is merged

2013-11-27 Thread Fabio Fantoni
Il 27/11/2013 12:50, Vladimir 'φ-coder/phcoder' Serbinenko ha scritto: On 27.11.2013 12:32, Fabio Fantoni wrote: Il 26/11/2013 19:12, Andrey Borzenkov ha scritto: В Tue, 26 Nov 2013 18:58:47 +0100 Fabio Fantoni пишет: I have also another question: Is possible specify multiple path where sear

Re: [Xen-devel] pvgrub2 is merged

2013-11-27 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 27.11.2013 16:59, Fabio Fantoni wrote: > Il 27/11/2013 12:50, Vladimir 'φ-coder/phcoder' Serbinenko ha scritto: >> On 27.11.2013 12:32, Fabio Fantoni wrote: >>> Il 26/11/2013 19:12, Andrey Borzenkov ha scritto: В Tue, 26 Nov 2013 18:58:47 +0100 Fabio Fantoni пишет: > I have a

Re: [Xen-devel] pvgrub2 is merged

2013-11-27 Thread M A Young
On Wed, 27 Nov 2013, Fabio Fantoni wrote: Il 27/11/2013 12:50, Vladimir 'φ-coder/phcoder' Serbinenko ha scritto: That pretty much explains what happened: you don't have any /boot/grub2/grub.cfg and when looking for /boot/grub/grub.cfg GRUB found its own memdisk and fell into recursion. I'm not

Re: [Xen-devel] pvgrub2 is merged

2013-11-27 Thread Fabio Fantoni
Il 27/11/2013 17:03, Vladimir 'φ-coder/phcoder' Serbinenko ha scritto: On 27.11.2013 16:59, Fabio Fantoni wrote: Il 27/11/2013 12:50, Vladimir 'φ-coder/phcoder' Serbinenko ha scritto: On 27.11.2013 12:32, Fabio Fantoni wrote: Il 26/11/2013 19:12, Andrey Borzenkov ha scritto: В Tue, 26 Nov 201

Re: [Xen-devel] pvgrub2 is merged

2013-11-27 Thread Andrey Borzenkov
В Wed, 27 Nov 2013 17:24:53 +0100 Fabio Fantoni пишет: > Il 27/11/2013 17:03, Vladimir 'φ-coder/phcoder' Serbinenko ha scritto: > > On 27.11.2013 16:59, Fabio Fantoni wrote: > >> Il 27/11/2013 12:50, Vladimir 'φ-coder/phcoder' Serbinenko ha scritto: > >>> That pretty much explains what happened:

Re: Loading OS/X 10.7 by grub x86_64-efi fails

2013-11-27 Thread Andrey Borzenkov
В Fri, 10 May 2013 14:18:42 +0200 Vladimir 'φ-coder/phcoder' Serbinenko пишет: > On 09.05.2013 20:32, Andrey Borzenkov wrote: > > > I have MacBook (Pro?) 3.1 with OS/X 10.7. I installed as second OS > > openSUSE 12.3 using EFI CD boot (worked just fine) and x86_64-efi > > grub2. I had to manuall

Re: Loading OS/X 10.7 by grub x86_64-efi fails

2013-11-27 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 27.11.2013 19:26, Andrey Borzenkov wrote: > В Fri, 10 May 2013 14:18:42 +0200 > Vladimir 'φ-coder/phcoder' Serbinenko пишет: > >> On 09.05.2013 20:32, Andrey Borzenkov wrote: >> >>> I have MacBook (Pro?) 3.1 with OS/X 10.7. I installed as second OS >>> openSUSE 12.3 using EFI CD boot (worked j

Re: Loading OS/X 10.7 by grub x86_64-efi fails

2013-11-27 Thread SevenBits
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/27/2013 01:26 PM, Andrey Borzenkov wrote: > ? Fri, 10 May 2013 14:18:42 +0200 > Vladimir '?-coder/phcoder' Serbinenko ?: > >> On 09.05.2013 20:32, Andrey Borzenkov wrote: >> >>> I have MacBook (Pro?) 3.1 with OS/X 10.7. I installed as secon

Re: [PATCH 2/2] ls core command: handle listing of the root directory

2013-11-27 Thread Andrey Borzenkov
What about this patch? Looks correct to me and reflects actual behavior. В Sun, 02 Jun 2013 16:48:23 +0200 Francesco Lavra пишет: > On 05/18/2013 12:26 PM, Francesco Lavra wrote: > > On 05/12/2013 12:56 PM, Francesco Lavra wrote: > >> Currently, listing of the root directory of a device with th

Re: Loading OS/X 10.7 by grub x86_64-efi fails

2013-11-27 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 27.11.2013 19:39, SevenBits wrote: > > On 11/27/2013 01:26 PM, Andrey Borzenkov wrote: >> ? Fri, 10 May 2013 14:18:42 +0200 >> Vladimir '?-coder/phcoder' Serbinenko ?: > >>> On 09.05.2013 20:32, Andrey Borzenkov wrote: >>> I have MacBook (Pro?) 3.1 with OS/X 10.7. I installed as seco

Re: PATCH: added GRUB command to get and set (U)EFI firmware variables

2013-11-27 Thread SevenBits
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/25/2013 07:22 PM, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > On 25.11.2013 23:28, SevenBits wrote: >> >> On 11/25/2013 05:07 PM, Vladimir '?-coder/phcoder' Serbinenko >> wrote: >>> On 25.11.2013 23:03, SevenBits wrote: Thanks for

Re: PATCH: added GRUB command to get and set (U)EFI firmware variables

2013-11-27 Thread Andrey Borzenkov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 В Wed, 27 Nov 2013 13:44:41 -0500 SevenBits пишет: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 11/25/2013 07:22 PM, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > > On 25.11.2013 23:28, SevenBits wrote: > >> > >> On 11/25/2013 05:07 PM

Re: Loading OS/X 10.7 by grub x86_64-efi fails

2013-11-27 Thread Chris Murphy
On Nov 27, 2013, at 11:31 AM, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > On 27.11.2013 19:26, Andrey Borzenkov wrote: >> >> Any progress on it? > What is the exact panic message? http://savannah.gnu.org/bugs/?39460 Chris Murphy ___ Grub-devel

Re: Loading OS/X 10.7 by grub x86_64-efi fails

2013-11-27 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 27.11.2013 20:38, Chris Murphy wrote: > > On Nov 27, 2013, at 11:31 AM, Vladimir 'φ-coder/phcoder' Serbinenko > wrote: > >> On 27.11.2013 19:26, Andrey Borzenkov wrote: >>> >>> Any progress on it? >> What is the exact panic message? > > http://savannah.gnu.org/bugs/?39460 > Ok, that's help

Re: PATCH: added GRUB command to get and set (U)EFI firmware variables

2013-11-27 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 27.11.2013 19:57, Andrey Borzenkov wrote: > В Wed, 27 Nov 2013 13:44:41 -0500 > SevenBits пишет: > >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 > >> On 11/25/2013 07:22 PM, Vladimir 'φ-coder/phcoder' Serbinenko wrote: >>> On 25.11.2013 23:28, SevenBits wrote: On 11/25/2013 05

Re: [RFC][PATCH] Allow hotkeys to interrupt hidden menu

2013-11-27 Thread Colin Watson
On Mon, Oct 21, 2013 at 02:45:04PM +0800, Franz Hsieh wrote: > I don't know if l lose any update from you. Would you give me comments > about the latest hotkey patch? Vladimir and I talked about this on IRC today. We share a dislike for the hardcoded hotkey names. Between us, we came up with a

Re: [RFC][PATCH] Allow hotkeys to interrupt hidden menu

2013-11-27 Thread Colin Watson
Following discussion with Vladimir on IRC, here's another attempt. The preferred user-facing configuration mechanism is now simpler, although some unfortunate compatibility code is required to make all this work. Revamp hidden timeout handling Add a new timeout_style environment variable and a c

Re: [RFC][PATCH] Allow hotkeys to interrupt hidden menu

2013-11-27 Thread Vladimir 'phcoder' Serbinenko
On Nov 28, 2013 3:31 AM, "Colin Watson" wrote: > > Following discussion with Vladimir on IRC, here's another attempt. The > preferred user-facing configuration mechanism is now simpler, although > some unfortunate compatibility code is required to make all this work. > > Revamp hidden timeout han

Re: [PATCH 2/2] ls core command: handle listing of the root directory

2013-11-27 Thread Vladimir 'phcoder' Serbinenko
this very confusing with 2 opposite patches in same mail. I don't have my keys here. Feel free to commit documentation patch. If you commit on Francesco's behalf don't forget --author On Nov 27, 2013 7:42 PM, "Andrey Borzenkov" wrote: > What about this patch? Looks correct to me and reflects actu

Re: grub-mkimage and other utils documentation

2013-11-27 Thread Vladimir 'phcoder' Serbinenko
Main user tools are install mknetdir mkrescue mkstandalone editenv mkconfig mkfont mklayout. Skip setup it's useful to have around for devs but has no interface stability and generally better be left alone. Thank you very much for taking care of this On Nov 26, 2013 5:41 PM, "Andrey Borzenkov" wro

Re: [PATCH v0] Require human interaction to go to normal shell if grub.cfg has a problem

2013-11-27 Thread Vladimir 'phcoder' Serbinenko
Just a wild idea perhaps we should embed osdetect.cfg in normal.mod in some form. It would be pretty much the easy solution for many cases. On Nov 26, 2013 12:47 AM, "Jon McCune" wrote: > The rescue prompt is very useful for human operators, but not so > useful in unattended environments. Add a

Re: GIT workflow

2013-11-27 Thread Vladimir 'phcoder' Serbinenko
I don't like the idea of double work to essentially have 2 commit messages. But it's possible to remove Changelog file. I'd like to know if any other major gnu projects made the move. On Nov 25, 2013 7:27 PM, "Andrey Borzenkov" wrote: > В Thu, 14 Nov 2013 15:20:10 +0200 > Mikko Rantalainen пишет