Re: creating Hurd chroots on Linux using DPKG_ROOT chrootless mode
On 2024-02-08 00:13, Samuel Thibault wrote:
Johannes Schauer Marin Rodrigues, le jeu. 08 févr. 2024 00:04:25 +0100,
a ecrit:
I'm probably missing more customizations to make this work. Where else
other
than in debootstrap should I look? Maybe the Debian installer is doing
something funny? Maybe there is a hurd-specific udeb that does some
setup?
There shouldn't be much more left than the /servers/socket/1 piece.
Maybe I found the missing bit. In debootstrap, there is:
in_target /usr/lib/hurd/setup-translators -k
settrans -a "$TARGET/dev" /hurd/firmlink /dev
settrans -a "$TARGET/servers" /hurd/firmlink /servers
settrans -a "$TARGET/proc" /hurd/firmlink /proc
I'll have to figure out how to translate what these do to something I
can do on Linux.
I'll come back once I have some code. :)
Thanks!
cheers, josch
Reply to: