Hi!

On Wed, 2019-05-15 at 13:40:19 +0200, Santiago Vila wrote:
> Package: dpkg-dev
> Version: 1.19.6

> I don't fully understand how Rules-Requires-Root is supposed to work
> when not using dh or debhelper.
> 
> To be precise, if I apply the patch below to hello-traditional_2.10-5
> and do "dpkg-buildpackage -uc -us -b" in a sid chroot, I get a .deb
> package with all files owned by "sanvila/sanvila".

Ah. :) Ok let's try to see whether the current spec/doc is enough or
whether it'd need improvements. So it would be great if you could go
over /usr/share/doc/dpkg-dev/rootless-builds.txt.gz and see whether
you can figure it out with just that? Also assuming you were not aware
of that doc, where do you think it could have been referred from so
that it would be easy to get to?

(Briefly checking it now again, I think it should spell out dpkg-deb's
--root-owner-group option on the prototyping/preparation section.)

Thanks,
Guillem

Reply via email to