<div dir="ltr">Sure, sounds good. <br></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Oct 1, 2018 at 2:03 PM Richard Purdie &lt;<a href="mailto:richard.purdie@linuxfoundation.org">richard.purdie@linuxfoundation.org</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Mon, 2018-10-01 at 11:12 +0000, Martin Jansa wrote:<br>
&gt; * currently it&#39;s used only by image.bbclass, image_types.bbclass and<br>
&gt;   meta/recipes-core/images/<a href="http://build-appliance-image_15.0.0.bb" rel="noreferrer" target="_blank">build-appliance-image_15.0.0.bb</a><br>
&gt;   but if it&#39;s needed by some recipe which isn&#39;t itself an image, then<br>
&gt;   it&#39;s useful in bitbake.conf, e.g. we have a recipe for creating<br>
&gt;   VirtualBox appliances which combines .wic.vmdk with .ovf file to<br>
&gt;   create .zip with appliance, but for that we need the filename of<br>
&gt;   .wic.vmdk which now contains IMAGE_NAME_SUFFIX<br>
&gt;   <a href="https://github.com/webOS-ports/meta-webos-ports/blob/4980ce52a43ac6" rel="noreferrer" target="_blank">https://github.com/webOS-ports/meta-webos-ports/blob/4980ce52a43ac6</a><br>
&gt; 897657602810313af359f0b839/meta-luneos/recipes-core/images/luneos-<br>
&gt; emulator-appliance.inc#L24<br>
&gt; <br>
&gt; * we were hardcoding .rootfs suffix where needed, but for quite long<br>
&gt;   time it&#39;s configurable with IMAGE_NAME_SUFFIX and might not match:<br>
&gt; <br>
&gt;   commit 380ee36811939d947024bf78de907e3c071b834f<br>
&gt;   Author: Patrick Ohly &lt;<a href="mailto:patrick.ohly@intel.com" target="_blank">patrick.ohly@intel.com</a>&gt;<br>
&gt;   Date:   Mon Mar 7 18:07:52 2016 +0100<br>
&gt; <br>
&gt;     image creation: allow overriding .rootfs suffix<br>
&gt; <br>
&gt; Signed-off-by: Martin Jansa &lt;<a href="mailto:Martin.Jansa@gmail.com" target="_blank">Martin.Jansa@gmail.com</a>&gt;<br>
&gt; ---<br>
&gt;  meta/classes/image_types.bbclass | 6 ------<br>
&gt;  meta/conf/bitbake.conf           | 6 ++++++<br>
&gt;  2 files changed, 6 insertions(+), 6 deletions(-)<br>
<br>
You could make this argument for many of the class variables, with<br>
other code needing some small piece and we end up importing a ton of<br>
stuff into bitbake.conf and global scope. My worry is this isn&#39;t<br>
scalable and leads to code which is hard to disentangle.<br>
<br>
How about we create imagevars.conf which the class could include, or<br>
other users could include without pulling in the main class?<br>
<br>
Cheers,<br>
<br>
Richard<br>
<br>
<br>
</blockquote></div>