summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorMartin Hundebøll <martin@geanix.com>2018-11-15 10:12:48 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-12-05 22:34:00 +0000
commit9b66c49eab6195ee508fc81f5dd4c4137e462d4a (patch)
tree5acb1fe3939fc275128883d6e3ec881d71bb86d5 /meta
parentcd6ac316c21aaddaf0795576568913c61ebcfddf (diff)
downloadpoky-9b66c49eab6195ee508fc81f5dd4c4137e462d4a.tar.gz
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) (From OE-Core rev: 83214b835cd82d5dddb47c418c4e7a20ac433f61) 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> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-extended/shadow/shadow.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-extended/shadow/shadow.inc b/meta/recipes-extended/shadow/shadow.inc
index 9691c3879a..4e1eaed9b4 100644
--- a/meta/recipes-extended/shadow/shadow.inc
+++ b/meta/recipes-extended/shadow/shadow.inc
@@ -53,6 +53,8 @@ PAM_SRC_URI = "file://pam.d/chfn \
53 53
54inherit autotools gettext 54inherit autotools gettext
55 55
56export CONFIG_SHELL="/bin/sh"
57
56EXTRA_OECONF += "--without-audit \ 58EXTRA_OECONF += "--without-audit \
57 --without-libcrack \ 59 --without-libcrack \
58 --without-selinux \ 60 --without-selinux \