summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>2016-05-12 10:37:55 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-05-13 13:41:27 +0100
commit40d19d920894f6a5fb04fe5b3b0b526c4a355290 (patch)
tree94c69026e585f6ad2b7f771c997ccf64690c8dad
parent138d161fd4c241bc44d9acf12aeeb111692b353b (diff)
downloadpoky-40d19d920894f6a5fb04fe5b3b0b526c4a355290.tar.gz
base-files: Use SYSROOT_DIRS to add dirs to stage in sysroot
(From OE-Core rev: 94196ee196aafca7e8e5a553e54e9437b5e11990) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-core/base-files/base-files_3.0.14.bb5
1 files changed, 1 insertions, 4 deletions
diff --git a/meta/recipes-core/base-files/base-files_3.0.14.bb b/meta/recipes-core/base-files/base-files_3.0.14.bb
index d391707376..533311061c 100644
--- a/meta/recipes-core/base-files/base-files_3.0.14.bb
+++ b/meta/recipes-core/base-files/base-files_3.0.14.bb
@@ -165,9 +165,7 @@ do_install_append_linuxstdbase() {
165 done 165 done
166} 166}
167 167
168sysroot_stage_all_append () { 168SYSROOT_DIRS += "${sysconfdir}/skel"
169 sysroot_stage_dir ${D}${sysconfdir}/skel ${SYSROOT_DESTDIR}${sysconfdir}/skel
170}
171 169
172PACKAGES = "${PN}-doc ${PN} ${PN}-dev ${PN}-dbg" 170PACKAGES = "${PN}-doc ${PN} ${PN}-dev ${PN}-dbg"
173FILES_${PN} = "/" 171FILES_${PN} = "/"
@@ -177,4 +175,3 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
177 175
178CONFFILES_${PN} = "${sysconfdir}/fstab ${@['', '${sysconfdir}/hostname'][(d.getVar('hostname', True) != '')]} ${sysconfdir}/shells" 176CONFFILES_${PN} = "${sysconfdir}/fstab ${@['', '${sysconfdir}/hostname'][(d.getVar('hostname', True) != '')]} ${sysconfdir}/shells"
179CONFFILES_${PN} += "${sysconfdir}/motd ${sysconfdir}/nsswitch.conf ${sysconfdir}/profile" 177CONFFILES_${PN} += "${sysconfdir}/motd ${sysconfdir}/nsswitch.conf ${sysconfdir}/profile"
180