[OE-core] [PATCH 2/3] boot-directdisk: Scope HDDDIR and HDDIMG variables to avoid conflicts

Darren Hart dvhart at linux.intel.com
Mon Jun 10 16:36:15 UTC 2013



On 06/09/2013 05:11 AM, Jonathan Liu wrote:
> On 8 June 2013 09:31, Darren Hart <dvhart at linux.intel.com> wrote:
>> On 05/08/2013 08:24 PM, Jonathan Liu wrote:
>>> These variables should not be shared with other image classes.
>>> The bootimg class also has an HDDDIR variable that could be overwritten
>>> if executing concurrently in the same image recipe.
>>
>> Nice catch. Would you considering sending a patch against the bootimg
>> class as well?
> 
> I did originally submit a patch against the bootimg class as well but
> it turns out those variables are used by grub-efi.bbclass and
> syslinux.bbclass. See
> http://lists.openembedded.org/pipermail/openembedded-core/2013-May/078011.html.

Ah yes. And boot-directdisk.bbclass also makes use of those. Sounds like
some investigation into how to better modularize this is in order.

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



More information about the Openembedded-core mailing list