summaryrefslogtreecommitdiff
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:40:49 +0100
commit196e01cce6d76c72d8e76ad1441c1baed321c939 (patch)
tree405f4650085abd2e30dd329cb81238e680ca283b /meta/recipes-extended/shadow
parent7b82a0dd8277f08e9a1ebf11effde0302f62098c (diff)
downloadopenembedded-core-196e01cce6d76c72d8e76ad1441c1baed321c939.tar.gz
openembedded-core-196e01cce6d76c72d8e76ad1441c1baed321c939.tar.bz2
openembedded-core-196e01cce6d76c72d8e76ad1441c1baed321c939.zip
shadow-sysroot: Use SYSROOT_DIRS to add dirs to stage in sysroot
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}"
do_install() {
install -d ${D}${sysconfdir}
- install -p -m 755 ${S}/login.defs_shadow-sysroot ${D}${sysconfdir}/login.defs
+ install -p -m 644 ${S}/login.defs_shadow-sysroot ${D}${sysconfdir}/login.defs
}
-sysroot_stage_all() {
- sysroot_stage_dir ${D} ${SYSROOT_DESTDIR}
-}
+SYSROOT_DIRS += "${sysconfdir}"
# don't create any packages
# otherwise: dbus-dev depends on shadow-sysroot-dev which depends on shadow-sysroot