mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 12:49:46 +00:00
shadow: Add PACKAGE_WRITE_DEPS for postinst
pwconv and grpconv are used in the postinstall script. (From OE-Core rev: 5a59e292d1382ea6858f6ccb532e48a9f1f4bea6) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
5d01111eb8
commit
e2ea1cdce9
@@ -6,7 +6,6 @@ LICENSE = "BSD | Artistic-1.0"
|
|||||||
LIC_FILES_CHKSUM = "file://COPYING;md5=ed80ff1c2b40843cf5768e5229cf16e5 \
|
LIC_FILES_CHKSUM = "file://COPYING;md5=ed80ff1c2b40843cf5768e5229cf16e5 \
|
||||||
file://src/passwd.c;beginline=8;endline=30;md5=d83888ea14ae61951982d77125947661"
|
file://src/passwd.c;beginline=8;endline=30;md5=d83888ea14ae61951982d77125947661"
|
||||||
|
|
||||||
DEPENDS = "shadow-native"
|
|
||||||
DEPENDS_class-native = ""
|
DEPENDS_class-native = ""
|
||||||
DEPENDS_class-nativesdk = ""
|
DEPENDS_class-nativesdk = ""
|
||||||
|
|
||||||
@@ -187,6 +186,7 @@ ALTERNATIVE_LINK_NAME[groups.1] = "${mandir}/man1/groups.1"
|
|||||||
ALTERNATIVE_LINK_NAME[su.1] = "${mandir}/man1/su.1"
|
ALTERNATIVE_LINK_NAME[su.1] = "${mandir}/man1/su.1"
|
||||||
ALTERNATIVE_LINK_NAME[nologin.8] = "${mandir}/man8/nologin.8"
|
ALTERNATIVE_LINK_NAME[nologin.8] = "${mandir}/man8/nologin.8"
|
||||||
|
|
||||||
|
PACKAGE_WRITE_DEPS += "shadow-native"
|
||||||
pkg_postinst_${PN} () {
|
pkg_postinst_${PN} () {
|
||||||
if [ "x$D" != "x" ]; then
|
if [ "x$D" != "x" ]; then
|
||||||
rootarg="--root $D"
|
rootarg="--root $D"
|
||||||
|
|||||||
Reference in New Issue
Block a user