Explorar o código

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>
Richard Purdie %!s(int64=14) %!d(string=hai) anos
pai
achega
42df3f81a1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      meta/classes/kernel.bbclass

+ 1 - 1
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
 
 	#