summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/shadow
diff options
context:
space:
mode:
authorLi Zhou <li.zhou@windriver.com>2019-09-19 14:15:20 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-10-02 10:09:47 +0100
commitb3e0775fcf6c23af0812d2e349fa708a62dae5bc (patch)
treed83bb49c703765549e05f172ebf4253e60991ef8 /meta/recipes-extended/shadow
parent0c7a087b3552e9b3ef3684a63caea3833a94ae2b (diff)
downloadpoky-b3e0775fcf6c23af0812d2e349fa708a62dae5bc.tar.gz
shadow: use relaxed usernames for all
The previous commit <shadow: use relaxed usernames> works only for target. When test with configuration: INHERIT += 'extrausers' EXTRA_USERS_PARAMS += "useradd -p '' aBcD; " and run "bitbake core-image-minimal", error occurs: NOTE: core-image-minimal: Performing useradd with [ -R .../build/tmp-glibc/work/qemux86_64-wrs-linux/core-image-minimal/1.0-r0/rootfs -p '' aBcD] useradd: invalid user name 'aBcD' Here move the patch for using relaxed usernames from class_target to the source code for all. (From OE-Core rev: 8adf98e63fefeaf2c841a038a4497f9845bc7b04) Signed-off-by: Li Zhou <li.zhou@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/shadow')
-rw-r--r--meta/recipes-extended/shadow/shadow.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-extended/shadow/shadow.inc b/meta/recipes-extended/shadow/shadow.inc
index 7f8ee78717..af38b911df 100644
--- a/meta/recipes-extended/shadow/shadow.inc
+++ b/meta/recipes-extended/shadow/shadow.inc
@@ -14,12 +14,12 @@ SRC_URI = "https://github.com/shadow-maint/shadow/releases/download/${PV}/${BP}.
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://0001-configure.ac-fix-configure-error-with-dash.patch \ 15 file://0001-configure.ac-fix-configure-error-with-dash.patch \
16 ${@bb.utils.contains('PACKAGECONFIG', 'pam', '${PAM_SRC_URI}', '', d)} \ 16 ${@bb.utils.contains('PACKAGECONFIG', 'pam', '${PAM_SRC_URI}', '', d)} \
17 file://shadow-relaxed-usernames.patch \
17 " 18 "
18 19
19SRC_URI_append_class-target = " \ 20SRC_URI_append_class-target = " \
20 file://login_defs_pam.sed \ 21 file://login_defs_pam.sed \
21 file://shadow-update-pam-conf.patch \ 22 file://shadow-update-pam-conf.patch \
22 file://shadow-relaxed-usernames.patch \
23 " 23 "
24 24
25SRC_URI_append_class-native = " \ 25SRC_URI_append_class-native = " \