Re: [Qemu-devel] [RFC PATCH] tests/docker/run: don't source /etc/profile

2017-09-26 Thread Fam Zheng
On Tue, 09/26 13:17, Philippe Mathieu-Daudé wrote: > On 09/26/2017 10:36 AM, Alex Bennée wrote: > > The usual behaviour of /etc/profile is to set the default PATH for > > users. This runs into problems when we have updated PATH in our > > dockerfile e.g. to access a cross-compiler in a non-standard

Re: [Qemu-devel] [RFC PATCH] tests/docker/run: don't source /etc/profile

2017-09-26 Thread Philippe Mathieu-Daudé
On 09/26/2017 10:36 AM, Alex Bennée wrote: The usual behaviour of /etc/profile is to set the default PATH for users. This runs into problems when we have updated PATH in our dockerfile e.g. to access a cross-compiler in a non-standard location. It shouldn't be needed anyway as we inherit the env

[Qemu-devel] [RFC PATCH] tests/docker/run: don't source /etc/profile

2017-09-26 Thread Alex Bennée
The usual behaviour of /etc/profile is to set the default PATH for users. This runs into problems when we have updated PATH in our dockerfile e.g. to access a cross-compiler in a non-standard location. It shouldn't be needed anyway as we inherit the env from the image when it was setup. Signed-off