Re: Reinventing the Hurd server bootstrap

2015-02-02 Thread Samuel Thibault
Hello, This seems very nice to me. I've always thought that the obscure lines we have to put in grub to be able to boot a hurd system were hurting us: they make it difficult to boot into a hurd system by hand when in boot-hosed mode, making the Hurd look complex, and not really helping with hacki

Re: Reinventing the Hurd server bootstrap

2015-02-02 Thread Samuel Thibault
Hello, Justus Winter, le Sat 27 Dec 2014 12:32:21 +0100, a écrit : > Quoting Richard Braun (2014-12-27 12:20:17) > > On Fri, Dec 26, 2014 at 06:32:33PM +0100, Justus Winter wrote: > > > Quoting Richard Braun (2014-12-26 17:10:19) > > > > What kind of non-elf files ? > > > > > > Any file. I creat

Re: Reinventing the Hurd server bootstrap

2015-02-02 Thread Samuel Thibault
Justus Winter, le Fri 30 Jan 2015 10:23:24 +0100, a écrit : > * Boots an unmodified Debian (debootstrap --variant=minbase) from a > readonly filesystem that does not support passive translators > (iso9660fs). Yay! :) > * Starts the Hurd console early on, How will this interact with being abl

Re: Reinventing the Hurd server bootstrap

2015-02-02 Thread Samuel Thibault
BTW, it may be also useful in the crosshurd case, which has always been quite fragile so far. Samuel

Re: Reinventing the Hurd server bootstrap

2015-02-02 Thread Richard Braun
On Mon, Feb 02, 2015 at 10:03:16AM +0100, Samuel Thibault wrote: > I'd rather avoid such kind of autodetection: if the payload happens > to be an ELF file, gnumach will do things with it that we didn't > necessarily wanted. Some time ago (5 Sep 2011), while working on the > initrd part for the Debi

Re: Investigation of the failing build of gnat-4.9 using fakeroot-hurd

2015-02-02 Thread Svante Signell
On Sat, 2014-12-20 at 15:29 +0100, Svante Signell wrote: > Hi, > > Building gnat-4.9 fails currently with EACCES errors when building some > of the .debs, specifically libgnatvsn4.9-dev, libgnatprj4.9-dev. The > failing commands are dh_movefiles and dh_md5sums, ... > Invoking .../fakeroot-hurd s

Re: Reinventing the Hurd server bootstrap

2015-02-02 Thread Justus Winter
Quoting Samuel Thibault (2015-02-02 10:03:16) > I'd rather avoid such kind of autodetection Yes, I understand. > Some time ago (5 Sep 2011), while working on the initrd part for the > Debian installer, I thought about introducing a data-task-create > command, which would tell gnumach to just load

[PATCH gnumach] XXX

2015-02-02 Thread Justus Winter
--- kern/bootstrap.c | 36 ++-- 1 file changed, 30 insertions(+), 6 deletions(-) diff --git a/kern/bootstrap.c b/kern/bootstrap.c index 4edae7b..9c2eb87 100644 --- a/kern/bootstrap.c +++ b/kern/bootstrap.c @@ -35,6 +35,7 @@ #include #include +#include #incl

Re: Reinventing the Hurd server bootstrap

2015-02-02 Thread Justus Winter
Quoting Samuel Thibault (2015-02-02 10:08:54) > > * Starts the Hurd console early on, > > How will this interact with being able to restart the console with > /etc/init.d/hurd-console? Badly :D. You cannot kill it easily with the init script b/c we cannot write the pid file that early on, and if