diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-06-23 20:45:28 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-06-23 21:08:01 +0100 |
commit | 42df3f81a1a1ffffd78308d2fa1e2d78737c92b1 (patch) | |
tree | ce1452f0551fd19d7db6a3b1529dc8aa0518fd09 | |
parent | 2fd3fc0b5e5138c6ed5bdae1ec851fba641e5404 (diff) | |
download | poky-42df3f81a1a1ffffd78308d2fa1e2d78737c92b1.tar.gz |
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>
(From OE-Core rev: 983197c10104bbbcb6cfd6e923a3bf11152b3001)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/kernel.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index 2cbe64e636..fd27832510 100644 --- a/meta/classes/kernel.bbclass +++ b/meta/classes/kernel.bbclass | |||
@@ -119,7 +119,7 @@ kernel_do_install() { | |||
119 | # Support for external module building - create a minimal copy of the | 119 | # Support for external module building - create a minimal copy of the |
120 | # kernel source tree. | 120 | # kernel source tree. |
121 | # | 121 | # |
122 | kerneldir=${STAGING_KERNEL_DIR} | 122 | kerneldir=${D}/kernel |
123 | install -d $kerneldir | 123 | install -d $kerneldir |
124 | 124 | ||
125 | # | 125 | # |