diff options
author | Yi Zhao <yi.zhao@windriver.com> | 2019-06-18 08:26:19 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-06-19 12:46:43 +0100 |
commit | 52fd2467c88d67b535f60c02fc192c1838d2fbca (patch) | |
tree | 8fdc0b0643d361c3773bc4e79d00331ac6d5d492 /meta/recipes-extended/shadow/shadow.inc | |
parent | 2806373ef21c8bce5b13271834779a99c58d910f (diff) | |
download | poky-52fd2467c88d67b535f60c02fc192c1838d2fbca.tar.gz |
shadow: fix configure error with dash
A configure error occurs when /bin/sh -> dash:
checking for is_selinux_enabled in -lselinux... yes
checking for semanage_connect in -lsemanage... yes
configure: 16322: test: yesyes: unexpected operator
Use "=" instead of "==" since dash doesn't support the latter.
(From OE-Core rev: a86da25d620aa9a2fd832ffe12816e7670b43633)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/shadow/shadow.inc')
-rw-r--r-- | meta/recipes-extended/shadow/shadow.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-extended/shadow/shadow.inc b/meta/recipes-extended/shadow/shadow.inc index 831751d6de..7f82d20826 100644 --- a/meta/recipes-extended/shadow/shadow.inc +++ b/meta/recipes-extended/shadow/shadow.inc | |||
@@ -13,6 +13,7 @@ SRC_URI = "https://github.com/shadow-maint/shadow/releases/download/${PV}/${BP}. | |||
13 | file://shadow-4.1.3-dots-in-usernames.patch \ | 13 | file://shadow-4.1.3-dots-in-usernames.patch \ |
14 | file://0001-Make-the-sp_lstchg-shadow-field-reproducible-re.-71.patch \ | 14 | file://0001-Make-the-sp_lstchg-shadow-field-reproducible-re.-71.patch \ |
15 | file://0002-gettime-Use-secure_getenv-over-getenv.patch \ | 15 | file://0002-gettime-Use-secure_getenv-over-getenv.patch \ |
16 | file://0001-configure.ac-fix-configure-error-with-dash.patch \ | ||
16 | ${@bb.utils.contains('PACKAGECONFIG', 'pam', '${PAM_SRC_URI}', '', d)} \ | 17 | ${@bb.utils.contains('PACKAGECONFIG', 'pam', '${PAM_SRC_URI}', '', d)} \ |
17 | " | 18 | " |
18 | 19 | ||