On Tue, Mar 20, 2018 at 1:24 PM, Andrea Galbusera <giz...@gmail.com> wrote: > Hi, > > Is there any way to reference bitbake variable within the wic file > syntax? Got to this question after a wic file of mine recently broke > due to a u-boot artifact changing its name after an upstream update of > the u-boot recipe. The wic had the artifact's name hardcoded as a > parameter to the rawcopy plugin. Could I have been referencing the > u-boot artifact via UBOOT_BINARY variable instead?
Use a wic.in file? http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/classes/image_types_wic.bbclass#n83 There's an example in the Intel RefKit: https://github.com/intel/intel-iot-refkit/blob/master/meta-refkit-core/wic/refkit-directdisk.wks.in -- Alex Kiernan -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto