]> code.ossystems Code Review - openembedded-core.git/commit
shadow: improve reproducibility by hard-coding shell path
authorMartin Hundebøll <martin@geanix.com>
Thu, 15 Nov 2018 09:12:48 +0000 (10:12 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 5 Dec 2018 22:31:31 +0000 (22:31 +0000)
commit83214b835cd82d5dddb47c418c4e7a20ac433f61
tree75eb057fb1db0180ab3380b10da12696bc10eb89
parentcaa0b85cecf37945d67d5844c772a11ed790f8a5
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

(From OE-Core rev: 5f4fe91cb6c21cd3ecd0b68d1c6b46a9530c7570)

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