[Buildroot] [PATCH v2] package/ntp: override host shell check

Thomas Petazzoni thomas.petazzoni at bootlin.com
Tue Dec 24 14:33:03 UTC 2019


On Tue, 26 Nov 2019 11:33:01 +0000
James Byrne <james.byrne at origamienergy.com> wrote:

> Add a patch from the upstream AutoGen package that allows POSIX_SHELL to
> be taken from the environment, then define that to be '/bin/sh'.
> 
> Since we are cross-compiling, the original behaviour of detecting the
> host shell is not useful as we cannot assume that the target uses the
> same shell, and it can prevent builds being reproducible because a
> different host environment will result in a different target binary.
> 
> Signed-off-by: James Byrne <james.byrne at origamienergy.com>
> 
> ---
> Changes v1 -> v2:
>   - Simplify by using upstream AutoGen change

Applied to master, thanks. Could you talk with the upstream NTP
developers to get this change merged ?

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


More information about the buildroot mailing list