[OE-core] Create more than one image with WIC

Gary Thomas gary at mlbassoc.com
Wed Mar 8 13:41:10 UTC 2017


On 2017-03-08 11:57, Ed Bartosh wrote:
> On Wed, Mar 08, 2017 at 10:44:21AM +0100, Daniel Schultz wrote:
>> Hi,
>>
>> I created two kickstart files (am335x-sdimage.wks, am335x-emmc.wks)
>> and added them to the local.conf.
>>
>> When I build the image only the first wks in WKS_FILES will be used
>> by WIC and the second will be ignored. Is it possible to build two
>> images in one build?
>>
>
> I don't think it's possible to build more than one image for the same
> type. wic is not an exception here.
>
>> Includes of the wks files in local.conf:
>> WKS_FILES_ti33x = "am335x-sdimage.wks am335x-emmc.wks "
>
> WKS_FILES variable is to provide possible wks files to use. First one found will
> be used to produce an image.

Would it work to add/define this variable in the corresponding *image*.bb recipe
rather than local.conf?

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



More information about the Openembedded-core mailing list