diff options
author | Alex Kiernan <alex.kiernan@gmail.com> | 2018-08-31 11:52:23 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-09-05 18:00:24 +0100 |
commit | 04d388174eae19b929a200c698a8bee4cfc0e303 (patch) | |
tree | be83688859a7f1f30b1b2326d8f51dca9e0c4d31 /meta/recipes-extended/sudo | |
parent | 02aff2ad81d49482fd2d5c12d2778923fbec9fc5 (diff) | |
download | poky-04d388174eae19b929a200c698a8bee4cfc0e303.tar.gz |
sudo: Add missing dep on virtual/crypt
Ensure we have virtual/crypt even if building without PAM; fixes:
sudo: error in /etc/sudo.conf, line 0 while loading plugin "sudoers_policy"
sudo: unable to load /usr/libexec/sudo/sudoers.so: /usr/libexec/sudo/sudoers.so: undefined symbol: crypt
sudo: fatal error, unable to load plugins
(From OE-Core rev: f863713ae255bf5b6619c98ecd36aacbda352bbb)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/sudo')
-rw-r--r-- | meta/recipes-extended/sudo/sudo_1.8.23.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-extended/sudo/sudo_1.8.23.bb b/meta/recipes-extended/sudo/sudo_1.8.23.bb index ab9c8cbea2..ce32bd187e 100644 --- a/meta/recipes-extended/sudo/sudo_1.8.23.bb +++ b/meta/recipes-extended/sudo/sudo_1.8.23.bb | |||
@@ -10,7 +10,7 @@ PAM_SRC_URI = "file://sudo.pam" | |||
10 | SRC_URI[md5sum] = "ea444d747feb1decfebdffd0b38b0739" | 10 | SRC_URI[md5sum] = "ea444d747feb1decfebdffd0b38b0739" |
11 | SRC_URI[sha256sum] = "d863d29b6fc87bc784a3223350e2b28a2ff2c4738f0fb8f1c92bb38c3017e679" | 11 | SRC_URI[sha256sum] = "d863d29b6fc87bc784a3223350e2b28a2ff2c4738f0fb8f1c92bb38c3017e679" |
12 | 12 | ||
13 | DEPENDS += " ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" | 13 | DEPENDS += " virtual/crypt ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" |
14 | RDEPENDS_${PN} += " ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam-plugin-limits pam-plugin-keyinit', '', d)}" | 14 | RDEPENDS_${PN} += " ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam-plugin-limits pam-plugin-keyinit', '', d)}" |
15 | 15 | ||
16 | EXTRA_OECONF += " \ | 16 | EXTRA_OECONF += " \ |