]> code.ossystems Code Review - openembedded-core.git/commit
shadow: improve reproducibility by hard-coding shell path
authorMartin Hundebøll <martin@geanix.com>
Wed, 7 Nov 2018 12:22:22 +0000 (13:22 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 13 Nov 2018 15:18:28 +0000 (15:18 +0000)
commit5e3e30446b6abd98d1d3e9bee818203a6a206634
tree6667ab3776384413f3daee498a1e31275311a0f4
parentd11cb2ea0abfca4a5958ff4647f22a5b203113e5
shadow: improve reproducibility by hard-coding shell path

The shadow configure script tries really hard to detect the running
shell to make sure it doesn't do unsupported calls.

On my system the shell is detected as /bin/sh, while a build in an
ubuntu docker it resolves to /bin/bash. And since the shell path is
baked into the target binaries through config.h, the build becomes
inreproducible.

Fix reproducibility by hard-coding the shell to be /bin/sh

Signed-off-by: Martin Hundebøll <martin@geanix.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/shadow/shadow.inc