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

Peter Korsgaard peter at korsgaard.com
Wed Dec 25 22:02:02 UTC 2019

>>>>> "James" == James Byrne <james.byrne at origamienergy.com> writes:

 > 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

Committed to 2019.02.x and 2019.11.x, thanks.

Bye, Peter Korsgaard

More information about the buildroot mailing list