kernel.bbclass: Stop do_install poking directly into the sysroot and evading sstate
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 23 Jun 2011 19:50:13 +0000 (21:50 +0200)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 16:13:31 +0000 (08:13 -0800)
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>
(From meta-openembedded rev: 5b857eeeb7b03eb5bc43a98888290b022bf42450)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-openembedded/meta-oe/classes/kernel.bbclass

index ecd3313..9c99265 100644 (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
 
        #