Am 08.03.2017 um 14:43 schrieb Ed Bartosh:
On Wed, Mar 08, 2017 at 02:41:10PM +0100, Gary Thomas wrote:
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?
Yes, it would if image recipe is unique, i.e. images of the same type
can be produced for different recipes.
But isn't wic different to other images like e.g. ext? I agree that
there are other images that need only build once, but wic images can
contain these and therefore act as a wrapper.
Do I have misunderstood the design of wic?
I mean MMC and EMMC are very similar, but different in the bootloader
and it would be a overhead to create an extra image for all EMMC images.
--
Mit freundlichen Grüßen,
With best regards,
Daniel Schultz
WKS_FILES makes sense to set only if there are multiple wks files that
can be used to produce an image. The most obvious use case is using
multiple layers with different wks files in each and specifying all of
them in WKS_FILES.
If this is not the case then setting WKS_FILE is enough.
--
Regards,
Ed
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core