diff options
Diffstat (limited to 'meta/recipes-extended/shadow/shadow.inc')
-rw-r--r-- | meta/recipes-extended/shadow/shadow.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-extended/shadow/shadow.inc b/meta/recipes-extended/shadow/shadow.inc index c1e24b4f16..c35cc8396d 100644 --- a/meta/recipes-extended/shadow/shadow.inc +++ b/meta/recipes-extended/shadow/shadow.inc | |||
@@ -17,6 +17,7 @@ SRC_URI = "https://github.com/shadow-maint/shadow/releases/download/v${PV}/${BP} | |||
17 | file://0001-Fix-out-of-tree-builds-with-respect-to-libsubid-incl.patch \ | 17 | file://0001-Fix-out-of-tree-builds-with-respect-to-libsubid-incl.patch \ |
18 | file://0001-libsubid-link-to-PAM-libraries.patch \ | 18 | file://0001-libsubid-link-to-PAM-libraries.patch \ |
19 | file://0001-libmisc-fix-default-value-in-SHA_get_salt_rounds.patch \ | 19 | file://0001-libmisc-fix-default-value-in-SHA_get_salt_rounds.patch \ |
20 | file://useradd \ | ||
20 | " | 21 | " |
21 | 22 | ||
22 | SRC_URI:append:class-target = " \ | 23 | SRC_URI:append:class-target = " \ |
@@ -116,6 +117,8 @@ do_install() { | |||
116 | # Use proper encryption for passwords | 117 | # Use proper encryption for passwords |
117 | sed -i 's/^#ENCRYPT_METHOD.*$/ENCRYPT_METHOD SHA512/' ${D}${sysconfdir}/login.defs | 118 | sed -i 's/^#ENCRYPT_METHOD.*$/ENCRYPT_METHOD SHA512/' ${D}${sysconfdir}/login.defs |
118 | 119 | ||
120 | install -d ${D}${sysconfdir}/default | ||
121 | install -m 0644 ${WORKDIR}/useradd ${D}${sysconfdir}/default | ||
119 | } | 122 | } |
120 | 123 | ||
121 | do_install:append() { | 124 | do_install:append() { |