package/ntp: override host shell check
authorJames Byrne <james.byrne@origamienergy.com>
Tue, 26 Nov 2019 11:33:01 +0000 (11:33 +0000)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 24 Dec 2019 14:30:14 +0000 (15:30 +0100)
commit88f79481878c7adf9642e208c72dea7fe367bee8
treec5560dd5b3f59e44d59af98961e5cfc30da1debb
parentf1b3a660a9bffd64c8c1703d6fcab6c613a2c899
package/ntp: override host shell check

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@origamienergy.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/ntp/0003-override-shell.patch [new file with mode: 0644]
package/ntp/ntp.mk