From: Martin Hundebøll Date: Thu, 15 Nov 2018 09:12:48 +0000 (+0100) Subject: shadow: improve reproducibility by hard-coding shell path X-Git-Tag: 2018-10.4-thud~462 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=5f4fe91cb6c21cd3ecd0b68d1c6b46a9530c7570;p=openembedded-core.git 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 Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-extended/shadow/shadow.inc b/meta/recipes-extended/shadow/shadow.inc index 0fa80a282a..09c37ef8a3 100644 --- a/meta/recipes-extended/shadow/shadow.inc +++ b/meta/recipes-extended/shadow/shadow.inc @@ -45,6 +45,8 @@ PAM_SRC_URI = "file://pam.d/chfn \ inherit autotools gettext +export CONFIG_SHELL="/bin/sh" + EXTRA_OECONF += "--without-audit \ --without-libcrack \ --without-selinux \