summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/shadow
diff options
context:
space:
mode:
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>2016-05-12 10:37:53 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-05-13 13:41:27 +0100
commitc486741d1237868a90b8a0a25bf23d75ab1cc211 (patch)
treeb327fbd293f0cc4953e45e3458e8bcdc34fd1b2e /meta/recipes-extended/shadow
parentf6ed023c5b9ff1c35f859be89e696924ea1cdb31 (diff)
downloadpoky-c486741d1237868a90b8a0a25bf23d75ab1cc211.tar.gz
shadow-sysroot: Use SYSROOT_DIRS to add dirs to stage in sysroot
(From OE-Core rev: 196e01cce6d76c72d8e76ad1441c1baed321c939) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/shadow')
-rw-r--r--meta/recipes-extended/shadow/shadow-sysroot_4.2.1.bb6
1 files changed, 2 insertions, 4 deletions
diff --git a/meta/recipes-extended/shadow/shadow-sysroot_4.2.1.bb b/meta/recipes-extended/shadow/shadow-sysroot_4.2.1.bb
index 697569c47e..ef014628f6 100644
--- a/meta/recipes-extended/shadow/shadow-sysroot_4.2.1.bb
+++ b/meta/recipes-extended/shadow/shadow-sysroot_4.2.1.bb
@@ -21,12 +21,10 @@ S = "${WORKDIR}"
21 21
22do_install() { 22do_install() {
23 install -d ${D}${sysconfdir} 23 install -d ${D}${sysconfdir}
24 install -p -m 755 ${S}/login.defs_shadow-sysroot ${D}${sysconfdir}/login.defs 24 install -p -m 644 ${S}/login.defs_shadow-sysroot ${D}${sysconfdir}/login.defs
25} 25}
26 26
27sysroot_stage_all() { 27SYSROOT_DIRS += "${sysconfdir}"
28 sysroot_stage_dir ${D} ${SYSROOT_DESTDIR}
29}
30 28
31# don't create any packages 29# don't create any packages
32# otherwise: dbus-dev depends on shadow-sysroot-dev which depends on shadow-sysroot 30# otherwise: dbus-dev depends on shadow-sysroot-dev which depends on shadow-sysroot