]> 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>
Fri, 16 Nov 2018 17:01:05 +0000 (17:01 +0000)
commit5f4fe91cb6c21cd3ecd0b68d1c6b46a9530c7570
treea28502b6315c974a2a1e27834ed9d73660453b8d
parentf0394e80a37f1da47042a1aa0487594f390603f9
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