summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended
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-11-24 22:02:47 +0000
commit436da7fbf33b77c26550a6004b36d3545fbc95f8 (patch)
tree9263684e8ca7abf745a6fea37eec16721934ccf6 /meta/recipes-extended
parenteddff2b361928e88e3628ebc22a1a0ebb119e01b (diff)
downloadpoky-436da7fbf33b77c26550a6004b36d3545fbc95f8.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) Signed-off-by: Martin Hundebøll <martin@geanix.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended')
-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 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 \
45 45
46inherit autotools gettext 46inherit autotools gettext
47 47
48export CONFIG_SHELL="/bin/sh"
49
48EXTRA_OECONF += "--without-audit \ 50EXTRA_OECONF += "--without-audit \
49 --without-libcrack \ 51 --without-libcrack \
50 --without-selinux \ 52 --without-selinux \