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>
This commit is contained in:
Peter Kjellerstedt 2016-05-12 10:37:55 +02:00 committed by Richard Purdie
parent 138d161fd4
commit 40d19d9208
1 changed files with 1 additions and 4 deletions

View File

@ -165,9 +165,7 @@ do_install_append_linuxstdbase() {
done
}
sysroot_stage_all_append () {
sysroot_stage_dir ${D}${sysconfdir}/skel ${SYSROOT_DESTDIR}${sysconfdir}/skel
}
SYSROOT_DIRS += "${sysconfdir}/skel"
PACKAGES = "${PN}-doc ${PN} ${PN}-dev ${PN}-dbg"
FILES_${PN} = "/"
@ -177,4 +175,3 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
CONFFILES_${PN} = "${sysconfdir}/fstab ${@['', '${sysconfdir}/hostname'][(d.getVar('hostname', True) != '')]} ${sysconfdir}/shells"
CONFFILES_${PN} += "${sysconfdir}/motd ${sysconfdir}/nsswitch.conf ${sysconfdir}/profile"