<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, May 12, 2016 at 11:06 AM, Christopher Larson <span dir="ltr">&lt;<a href="mailto:clarson@kergoth.com" target="_blank">clarson@kergoth.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On Sun, May 8, 2016 at 9:05 AM, Jeremy ROSEN <span dir="ltr">&lt;<a href="mailto:jeremy.rosen@smile.fr" target="_blank">jeremy.rosen@smile.fr</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>Le 02/05/2016 21:23, Christopher Larson a écrit :<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
From: Christopher Larson &lt;<a href="mailto:chris_larson@mentor.com" target="_blank">chris_larson@mentor.com</a>&gt;<br>
<br>
This adds support for .<a href="http://wks.in" rel="noreferrer" target="_blank">wks.in</a> files as WKS_FILE.<br>
<br>
These files are treated as the contents of a bitbake variable, so usual<br>
bitbake variable references are supported. I considered using another<br>
templating mechanism, for example the one used by yocto-layer, but then we&#39;d<br>
end up largely mapping metadata variables to template fields anyway, which is<br>
a pointless indirection. Let bitbake expand the variables directly instead.<br>
<br>
This feature lets us, for example, reference ${APPEND} in --append, and avoid<br>
hardcoding the serial console tty in the wks file, and let the user&#39;s changes<br>
to APPEND affect wic the way they do the other image construction mechanisms.<br>
<br>
The template is read in and set in a variable at parse time, so changes to the<br>
variables referenced by the template will result in rebuilding the image.<br>
<br>
It&#39;s been suggested that the name should better reflect how its contents are<br>
used, i.e. .bbin or so. I&#39;ve also considered including something like &#39;bbv&#39; or<br>
similar, to indicate its contents are that of a bitbake value. I think this<br>
should be discussed.<br>
<br>
I&#39;d love to hear questions or comments on this. I think the value is clear,<br>
and it&#39;s something we need to solve, but I&#39;d like to hear if others agree or<br>
disagree on that, and whether this implementation is appropriate.</blockquote></span></blockquote></div></div></div></div></div></blockquote><div><br></div><div>Given that there don&#39;t seem to be any real objections here, I&#39;m going to re-submit this as a non-RFC patch series to try to get it merged. If anyone has any issues adding this feature, let me know. Thanks for the feedback. </div></div>-- <br><div class="gmail_signature">Christopher Larson<br>clarson at kergoth dot com<br>Founder - BitBake, OpenEmbedded, OpenZaurus<br>Maintainer - Tslib<br>Senior Software Engineer, Mentor Graphics</div>
</div></div>