On Fri, 06 Dec 2024 08:57:03 +0100 Julien Puydt <julien.pu...@gmail.com> wrote: > Le jeudi 05 décembre 2024 à 19:09 +0100, Jochen Sprickerhof a écrit : > > * Julien Puydt <julien.pu...@gmail.com> [2024-12-05 18:52]:
> Solution A. > (1) changing the first paragraph to explain that's how it has to be > done (not just "recommends") ; > (2) and dropping the second paragraph altogether. > > Solution B. > (1) fixing sbuild-update so it doesn't break the chroot. > > > I can implement the first solution (and I'll then close this report) ; > for the second I don't know anything (and that report can be kept > open). The second would be useful - i think at minimum sbuild-update should give an error if chroot_mode is unshare: currently it updates chroots for other backends without warning. it would be even better if there was a way unpack the chroot, use unshare to run a command in the unpacked directory and repack the tarball. If repacking was optional it would aid debugging. (maybe sbuild doesnt need to ship this as a wrapper, we could add it to the wiki)