On Sat, Oct 10, 2020 at 10:59 PM Jessica Clarke <[email protected]> wrote: > > On 10 Oct 2020, at 14:58, Roger Shimizu <[email protected]> wrote: > > > > On Sat, Oct 10, 2020 at 10:34 PM Jessica Clarke <[email protected]> wrote: > >> > >> As for HOOKDIR, that's also just a pbuilder option. How are you running > >> cowbuilder? Are you running it directly with sudo and forgetting you > >> need -E or --preserve-env=HOME in order for its HOME to not be ~root? > > > > No, I use cowbuilder through git-pbuilder [1], and "gbp buildpackage > > --git-pbuilder" command. > > So I don't know so much under layering details as you do. > > Sorry that was intended for Enrico as the one having issues.
I think Enrico's original issue was just to enable incoming repo in cowbuilder, which my solution can solve. Using HOOKDIR is not necessary. And actually my setup also use HOOKDIR, which is for autopkgtest and generate Package for local packages [2]. [2] https://wiki.debian.org/PbuilderTricks#How_to_include_local_packages_in_the_build Cheers, -- Roger Shimizu, GMT +9 Tokyo PGP/GPG: 4096R/6C6ACD6417B3ACB1

