Quoting Samuel Thibault (2026-06-09 20:47:35)
> Johannes Schauer Marin Rodrigues, le mar. 09 juin 2026 20:41:27 +0200, a 
> ecrit:
> > curl --silent 
> > http://ftp.ports.debian.org/debian-ports/dists/unstable/main/binary-hurd-i386/Packages.xz
> >  | unxz | grep-dctrl -F Package netdde
> > 
> > The above comes back empty. The netdde package is not part of the unstable
> > suite (but it is present in unreleased) and that's why mmdebstrap does not 
> > pick
> > it up when it is told to install a chroot for the suite called "unstable".
> > 
> > Is this intentional?
> 
> debian doesn't really want to see old linux code getting into the
> main archive just for the purpose of the hurd port. Same goes for
> rumpkernel and such.
> 
> > Should I add a workaround?
> 
> Yes, ports are often not really bootstrapable without the unreleased suite.

Thank you! I manually added netdde for this reason and updated the debvm merge
request accordingly:

https://salsa.debian.org/helmutg/debvm/-/merge_requests/39

With these changes I can create a bootable Hurd system on Linux by running:

mmdebstrap --unshare-helper \
  bin/debvm-create \
  -o ~/tmp/rootfs.ext4 \
  --sshkey /tmp/id_rsa.pub \
  --release=unstable \
  --initsystem=sysv \
  --architecture=hurd-i386 \
  -- \
  --mode=chrootless \
  --customize-hook='echo root | passwd --prefix "$1" --stdin root' \
  "deb http://ftp.ports.debian.org/debian-ports/ unstable main" \
  "deb http://ftp.ports.debian.org/debian-ports/ unreleased main" \
  "deb [trusted=yes] http://127.0.0.1:8080 ./"

I can then either log into this system as root with password root (but youpi
fixed autologin with the next src:hurd upload) or via ssh:

ssh -o NoHostAuthenticationForLocalhost=yes -p 2222 [email protected]

You can see that a custom local repo is still needed. This is for some packages
with patches that were not yet merged by the respective maintainers:

 * openssh https://salsa.debian.org/ssh-team/openssh/-/merge_requests/39
 * ifupdown https://salsa.debian.org/debian/ifupdown/-/merge_requests/31
 * init-system-helpers 
https://salsa.debian.org/debian/init-system-helpers/-/merge_requests/33
 * ucf https://salsa.debian.org/debian/ucf/-/merge_requests/5

For bit-by-bit reproducible installation we also need (but not strictly
required):

 * pam https://salsa.debian.org/vorlon/pam/-/merge_requests/33

And for the sysvinit/update-rc debhelper postinst snippet, some binNMUs still
have to be carried out:

 * dbus https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1139311
 * seedfiles https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1139342

Theoretially a binNMU would've been necessary but its maintainer just did a
no-changes source upload instead.

So this is the current status. Patches exist and "just" need to get merged. :)

Thanks!

cheers, josch

Attachment: signature.asc
Description: signature

Reply via email to