[oe-commits] Richard Purdie : kernel.bbclass: Stop do_install poking directly into the sysroot and evading sstate
git version control
git at git.openembedded.org
Thu Jun 23 19:50:42 UTC 2011
Module: meta-openembedded.git
Branch: master
Commit: 5b857eeeb7b03eb5bc43a98888290b022bf42450
URL: http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=5b857eeeb7b03eb5bc43a98888290b022bf42450
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date: Thu Jun 23 21:50:13 2011 +0200
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 at mentor.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>
---
meta-oe/classes/kernel.bbclass | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/meta-oe/classes/kernel.bbclass b/meta-oe/classes/kernel.bbclass
index ecd3313..9c99265 100644
--- a/meta-oe/classes/kernel.bbclass
+++ b/meta-oe/classes/kernel.bbclass
@@ -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
#
More information about the Openembedded-commits
mailing list