From 784f4c80204a09b85b7e83c9bd91cd48f001384f Mon Sep 17 00:00:00 2001 From: Ioan-Adrian Ratiu Date: Thu, 22 Oct 2015 14:58:18 +0300 Subject: 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. Signed-off-by: Ioan-Adrian Ratiu Signed-off-by: Ross Burton --- meta/recipes-core/base-files/base-files_3.0.14.bb | 4 ++++ 1 file changed, 4 insertions(+) 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() { done } +sysroot_stage_all_append () { + sysroot_stage_dir ${D}${sysconfdir}/skel ${SYSROOT_DESTDIR}${sysconfdir}/skel +} + PACKAGES = "${PN}-doc ${PN} ${PN}-dev ${PN}-dbg" FILES_${PN} = "/" FILES_${PN}-doc = "${docdir} ${datadir}/common-licenses" -- cgit 1.2.3-korg