Bug#808203: When under tests --root= and dpkg hooks don't run well together

2015-12-21 Thread Guillem Jover
Hi! On Thu, 2015-12-17 at 10:18:35 +0100, Didier Roche wrote: > Package: dpkg > Version: 1.18.3 > In a project (Ubuntu Make), I have my small tests running as non root, > but this one needs to install packages. > What I did until now is to use (as apt is used to fetch packages from a > local

Bug#808203: When under tests --root= and dpkg hooks don't run well together

2015-12-21 Thread Didier Roche
Le 22/12/2015 01:54, Guillem Jover a écrit : > Hi! > Hey! > I'm thinking that dpkg should grow a new --confdir option (which I've > almost got implemented locally), and --root should also modify that, so > that the configuration is taken from the correct place. And the logging > directed to the

Bug#808203: When under tests --root= and dpkg hooks don't run well together

2015-12-17 Thread Didier Roche
Package: dpkg Version: 1.18.3 In a project (Ubuntu Make), I have my small tests running as non root, but this one needs to install packages. What I did until now is to use (as apt is used to fetch packages from a local repo) a "fakeroot dpkg --root" wrapper with a local crafted directory to