Bug#939087: Please support HOOKDIR config option

2020-10-10 Thread Roger Shimizu
On Sat, Oct 10, 2020 at 10:59 PM Jessica Clarke wrote: > > On 10 Oct 2020, at 14:58, Roger Shimizu wrote: > > > > On Sat, Oct 10, 2020 at 10:34 PM Jessica Clarke wrote: > >> > >> As for HOOKDIR, that's also just a pbuilder option. How are you running > >> cowbuilder? Are you running it directly

Bug#939087: Please support HOOKDIR config option

2020-10-10 Thread Roger Shimizu
On Sat, Oct 10, 2020 at 10:34 PM Jessica Clarke 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

Bug#939087: Please support HOOKDIR config option

2020-10-10 Thread Jessica Clarke
On 10 Oct 2020, at 14:58, Roger Shimizu wrote: > > On Sat, Oct 10, 2020 at 10:34 PM Jessica Clarke 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

Bug#939087: Please support HOOKDIR config option

2020-10-10 Thread Jessica Clarke
On 10 Oct 2020, at 14:22, Roger Shimizu wrote: > >> I tried adding this to ~/.pbuilderrc, but it gets ignored: >> >> OTHERMIRROR="deb http://incoming.debian.org/debian-buildd buildd-unstable" > > I meet this issue, too. > and I need to build both unstable and backports, so I find the >

Bug#939087: Please support HOOKDIR config option

2020-10-10 Thread Roger Shimizu
> I tried adding this to ~/.pbuilderrc, but it gets ignored: > > OTHERMIRROR="deb http://incoming.debian.org/debian-buildd buildd-unstable" I meet this issue, too. and I need to build both unstable and backports, so I find the solution is appending the following to ~/.pbuilderrc: if [ -z

Bug#939087: Please support HOOKDIR config option

2019-09-01 Thread Enrico Zini
On Sun, Sep 01, 2019 at 02:16:50PM +0200, Jens Reyer wrote: > > I tried adding this to ~/.pbuilderrc, but it gets ignored: > > OTHERMIRROR="deb http://incoming.debian.org/debian-buildd buildd-unstable" > Typo? I guess "main" is missing. > Do you "apt update" later? Correct, main is missing. I

Bug#939087: Please support HOOKDIR config option

2019-09-01 Thread Jens Reyer
Hi Enrico > I tried adding this to ~/.pbuilderrc, but it gets ignored: > > OTHERMIRROR="deb http://incoming.debian.org/debian-buildd buildd-unstable" Typo? I guess "main" is missing. Do you "apt update" later? > So I put this in ~/.pbuilder/hooks/D09incoming: > > #!/bin/sh > echo "deb

Bug#939087: Please support HOOKDIR config option

2019-09-01 Thread Enrico Zini
Package: cowbuilder Version: 0.88 Severity: wishlist Hello, thank you for cowbuilder! When building packages that depend on packages I just uploaded, I find it useful to be able to add incoming.debian.org to the apt sources inside the chroot. I tried adding this to ~/.pbuilderrc, but it gets