From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from 93-97-173-237.zone5.bethere.co.uk ([93.97.173.237] helo=tim.rpsys.net) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1QZltt-0008BF-Cs for openembedded-core@lists.openembedded.org; Thu, 23 Jun 2011 17:33:01 +0200 Received: from localhost (localhost [127.0.0.1]) by tim.rpsys.net (8.13.6/8.13.8) with ESMTP id p5NFTP0J018498 for ; Thu, 23 Jun 2011 16:29:25 +0100 Received: from tim.rpsys.net ([127.0.0.1]) by localhost (tim.rpsys.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 17927-03 for ; Thu, 23 Jun 2011 16:29:21 +0100 (BST) Received: from [192.168.1.45] (dynamic15.rpnet.com [192.168.1.45]) (authenticated bits=0) by tim.rpsys.net (8.13.6/8.13.8) with ESMTP id p5NFTGPI018492 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 23 Jun 2011 16:29:16 +0100 From: Richard Purdie To: Patches and discussions about the oe-core layer In-Reply-To: <4E0286CD.50700@mentor.com> References: <4E0286CD.50700@mentor.com> Date: Thu, 23 Jun 2011 16:29:14 +0100 Message-ID: <1308842954.20015.126.camel@rex> Mime-Version: 1.0 X-Mailer: Evolution 2.32.2 X-Virus-Scanned: amavisd-new at rpsys.net Subject: Re: sstate skips STAGING_DIR_KERNEL? X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Patches and discussions about the oe-core layer List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jun 2011 15:33:01 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On Wed, 2011-06-22 at 17:20 -0700, Tom Rini wrote: > As part of looking into the problem I had that I just posted a patch for > I was going "why isn't -c clean (or cleanall or cleansstate) knocking > out STAGING_DIR_KERNEL contents? Answer, sstate is totally skipping > that out. Is there some variable we need to be setting somewhere to add > this in? Or are we going to have to take in the various bits of OE.dev > kernel.bbclass instead here? I think there is a bug in kernel.bbclass. This should fix it: diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index aaf341b..9f09107 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 # I'll merge something like this is nobody objects. Cheers, Richard