Merge branch 'rootless-builds'

deb: build the rules as an unprivileged user in pkh chroots, the
same way Launchpad's buildds and sbuild do - setpriv drops to an
on-demand pkh-build user owning the staged tree, the scratch HOME
and the ccache; dependency installation and quilt stay root.
Validated by the e2e canary: coreutils (which refuses a root
configure) now passes.

* rootless-builds:
  test: drop the coreutils xfail, rootless builds clear it
  deb: run the user probes through sh with stderr dropped
  deb: build the rules as an unprivileged user in pkh chroots
This commit is contained in:
2026-10-02 12:58:44 +02:00
3 changed files with 187 additions and 3 deletions
-1
View File
@@ -125,7 +125,6 @@ packages:
category: core
dist: ubuntu
tags: [c, autotools]
xfail: pkh deb builds as root in the chroot and coreutils configure refuses root (needs a non-root build user, as Launchpad buildds use)
- name: util-linux
category: core