summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIoan-Adrian Ratiu <adrian.ratiu@ni.com>2015-10-22 14:58:18 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-11-25 08:08:07 +0000
commit9163a5d02dcba6bc1fc62912f157df301f6f33b6 (patch)
tree4f662f818016b2ed2dccce9e00171267965dbe96
parentd60c5ff65941cbb1090398ba307921fd946a31a7 (diff)
downloadpoky-9163a5d02dcba6bc1fc62912f157df301f6f33b6.tar.gz
base-files: stage /etc/skel
Having skel in the staging area lets other recipes access these files. For ex. recipes inheriting useradd, if passing "-m" to USERADD_PARAM, .bashrc and .profile are put automatically in $HOME, as expected. (From OE-Core rev: 784f4c80204a09b85b7e83c9bd91cd48f001384f) Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-core/base-files/base-files_3.0.14.bb4
1 files changed, 4 insertions, 0 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 e16fe722b8..b71d5c5341 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
@@ -167,6 +167,10 @@ do_install_append_linuxstdbase() {
167 done 167 done
168} 168}
169 169
170sysroot_stage_all_append () {
171 sysroot_stage_dir ${D}${sysconfdir}/skel ${SYSROOT_DESTDIR}${sysconfdir}/skel
172}
173
170PACKAGES = "${PN}-doc ${PN} ${PN}-dev ${PN}-dbg" 174PACKAGES = "${PN}-doc ${PN} ${PN}-dev ${PN}-dbg"
171FILES_${PN} = "/" 175FILES_${PN} = "/"
172FILES_${PN}-doc = "${docdir} ${datadir}/common-licenses" 176FILES_${PN}-doc = "${docdir} ${datadir}/common-licenses"