From: Ioan-Adrian Ratiu Date: Thu, 22 Oct 2015 11:58:18 +0000 (+0300) Subject: base-files: stage /etc/skel X-Git-Tag: 2016-4~2254 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=784f4c80204a09b85b7e83c9bd91cd48f001384f;p=openembedded-core.git 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 --- 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"