[OE-core] [PATCH] bootimg: Use STAGING_KERNEL_DIR

Darren Hart dvhart at linux.intel.com
Thu Jul 5 21:29:33 UTC 2012



On 07/05/2012 01:06 PM, Tom Zanussi wrote:
> On Thu, 2012-07-05 at 11:08 -0700, Darren Hart wrote:
>> bootimg.bbclass using STAGING_DIR_HOST/kernel instead of
>> STAGING_KERNEL_DIR, resulting in build failure of live images.
>>
>> | install: cannot stat `/usr/local/dev/yocto/fishriver-test/build/tmp/sysroots/fishriver/kernel/bzImage': No such file or directory
>>
>> Replace it with STAGING_KERNEL_DIR.
>>
>> UNTESTED - PLEASE TEST PRIOR TO PULL.
> 
> Fixed the build problem here.
> 
> Tested-by: Tom Zanussi <tom.zanussi at intel.com>

Great. I'm getting bags packed and kids ready to go. Can someone please
pull this one in and clean up the commit log to remove the UNTESTED line
and add Tom's Tested-by?

Thanks,

Darren

> 
>>
>> Signed-off-by: Darren Hart <dvhart at linux.intel.com>
>> CC: tom.zanussi at intel.com
>> CC: saul.wold at intel.com
>> CC: nitin.a.kamble at intel.com
>> ---
>>  meta/classes/bootimg.bbclass |    2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/meta/classes/bootimg.bbclass b/meta/classes/bootimg.bbclass
>> index 370b378..a4c0e8d 100644
>> --- a/meta/classes/bootimg.bbclass
>> +++ b/meta/classes/bootimg.bbclass
>> @@ -63,7 +63,7 @@ populate() {
>>  	install -d ${DEST}
>>  
>>  	# Install bzImage, initrd, and rootfs.img in DEST for all loaders to use.
>> -	install -m 0644 ${STAGING_DIR_HOST}/kernel/bzImage ${DEST}/vmlinuz
>> +	install -m 0644 ${STAGING_KERNEL_DIR}/bzImage ${DEST}/vmlinuz
>>  
>>  	if [ -n "${INITRD}" ] && [ -s "${INITRD}" ]; then
>>  		install -m 0644 ${INITRD} ${DEST}/initrd
> 
> 

-- 
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel






More information about the Openembedded-core mailing list