kernel.bbclass: Stop do_install poking directly into the sysroot and evading sstate

do_install was putting files directly into the sysroot which means sstate
had no knowledge of them. This meant they didn't get cleaned along with the
other files from the task amongst other issues.

This patch puts them in ${D} where they were supposted to be.

Tested-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
This commit is contained in:
Richard Purdie 2011-06-23 21:50:13 +02:00 committed by Koen Kooi
parent dd25d80387
commit 5b857eeeb7

View File

@ -131,7 +131,7 @@ kernel_do_install() {
# Support for external module building - create a minimal copy of the
# kernel source tree.
#
kerneldir=${STAGING_KERNEL_DIR}
kerneldir=${D}/kernel
install -d $kerneldir
#