From 983197c10104bbbcb6cfd6e923a3bf11152b3001 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 23 Jun 2011 20:45:28 +0100 Subject: 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 Signed-off-by: Richard Purdie --- meta/classes/kernel.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/classes') diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index 2cbe64e63..fd2783251 100644 --- a/meta/classes/kernel.bbclass +++ b/meta/classes/kernel.bbclass @@ -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 # -- cgit v1.2.3