]> code.ossystems Code Review - openembedded-core.git/commitdiff
kernel.bbclass: Stop do_install poking directly into the sysroot and evading sstate
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 23 Jun 2011 19:45:28 +0000 (20:45 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 23 Jun 2011 19:45:28 +0000 (20:45 +0100)
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>
meta/classes/kernel.bbclass

index 2cbe64e636b04ac582afb3ae03babc2977f8e5ba..fd2783251096ad6843adfe59137f36ff92c01486 100644 (file)
@@ -119,7 +119,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
 
        #