Hello,

Well I'm close to a v2 of this patch.
The only remaining issue (I hope) is the fakeroot stuff:

On Mon, Nov 23, 2026 at 04:58:53PM +0300, Alperen Erkan wrote:
> 
> 4. Preservation of fakeroot metadata
> 
> fakeroot make install DESTDIR=$SYSROOT and fakeroot mke2fs ... run in
> separate sessions. The second session has no record of device types or
> ownership
> changes emulated during installation. Running the Hurd installation, the
> intervening sysroot changes, and mke2fs -d in the same fakeroot session
> would preserve that
>  metadata when populating the image.
>

Do we really need this?

There are a few "make install" which use the "$SYSROOT" as DESTDIR, from
different stages of compilation, that I would need to rerun in a single
fakeroot. 

The image build steps already does the right thing™ and seem to output
root owned files after the mke2fs call.

-------------------------------

Also, I tried x86_64-gnu but the image was not usable. The following
error is displayed at boot time:

    timer calibration... done
    module 0: ext2fs --multiboot-command-line=${kernel-command-line} 
--host-priv-port=${host-port} --device-master-port=${device-port} 
--exec-server-task=${exec-task} -T typed ${root} $(task-create) $(task-resume)
    1 multiboot modules
    bootstrap script missing symbol 'exec-task'
    panic ../kern/bootstrap.c:318: bootstrap_create: ERROR in executing boot 
script: undefined symbol

Maybe I have to adjust the GRUB configuration? But for now, it doesn't
work.

Thanks,
Diego

Reply via email to