#1140964 piuparts.d.o: use mmdebstrap for a more minimal chroot

#1140964#5
Date:
2026-06-28 19:27:04 UTC
From:
To:
Hi Nicolas,

as discussed in Hamburg, I propose to use mmdebstrap to create more
minimal chroots for piuparts:

mmdebstrap --variant=apt

As long as #1125789 is still open we also have to add --include=passwd.

As piuparts can't test packages that are already installed in the
chroot, this would allow more packages to be tested. This would also
allow running everything as a normal user without root rights.

Even more, we could create the chroot on the fly:

piuparts --bootstrapcmd="mmdebstrap --skip=check/empty"

Cheers Jochen