<div dir="ltr">Hi Bernhard Reutner-Fischer,<br><div><div class="gmail_extra"><br><div class="gmail_quote">On 18 March 2015 at 18:12, Naresh Bhat <span dir="ltr">&lt;<a href="mailto:naresh.bhat@linaro.org" target="_blank">naresh.bhat@linaro.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On 18 March 2015 at 18:05, Bernhard Reutner-Fischer <span dir="ltr">&lt;<a href="mailto:rep.dot.nop@gmail.com" target="_blank">rep.dot.nop@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div>On 18 March 2015 at 12:27, Naresh Bhat &lt;<a href="mailto:naresh.bhat@linaro.org" target="_blank">naresh.bhat@linaro.org</a>&gt; wrote:<br>
&gt; To generate bootable ISO image the x86 architecture uses syslinux package (syslinux/isolinux.bin).<br>
&gt; We have already skip the syslinux package on aarch64.  Hence skip the iso image build on aarch64.<br>
&gt;<br>
&gt; Signed-off-by: Naresh Bhat &lt;<a href="mailto:naresh.bhat@linaro.org" target="_blank">naresh.bhat@linaro.org</a>&gt;<br>
&gt; ---<br>
&gt;  meta/classes/bootimg.bbclass |    1 +<br>
&gt;  1 file changed, 1 insertion(+)<br>
&gt;<br>
&gt; diff --git a/meta/classes/bootimg.bbclass b/meta/classes/bootimg.bbclass<br>
&gt; index ed7b32f..5a8e70c 100644<br>
&gt; --- a/meta/classes/bootimg.bbclass<br>
&gt; +++ b/meta/classes/bootimg.bbclass<br>
&gt; @@ -33,6 +33,7 @@ do_bootimg[depends] += &quot;dosfstools-native:do_populate_sysroot \<br>
&gt;<br>
&gt;  PACKAGES = &quot; &quot;<br>
&gt;  EXCLUDE_FROM_WORLD = &quot;1&quot;<br>
&gt; +NOISO_aarch64 = &quot;1&quot;<br>
<br>
</div></div>how does that help !COMPATIBLE_HOST (of syslinux) except aarch64?<br>
<br>
I meant you to<br>
def mycheck(d):<br>
  h = d.getVar(&#39;COMPATIBLE_HOST&#39;, True)<br>
  if h:<br>
    t = d.getVar(&#39;TARGET_ARCH&#39;, True)<br>
    if re.match(h, t):<br>
      return 0<br>
  return 1<br>
<br>
and use that to set NOISO ?= &quot;${@mycheck(d)}&quot;<br>
(modulo typos and testing)<br>
<br>
I think something like that should work and i think this would be<br>
preferable to adding all those upcoming NOISO_baz<br>
See what i mean?<br></blockquote></div></div><div>Thank you very much.  I will do it right now, test with luvos distribution, re-post this patch. <br></div></div></div></div></blockquote><div> </div><div>I have implemented and tried it with luvOS distribution.  <br><br>def check_iso_build(d):<br>       host = d.getVar(&#39;COMPATIBLE_HOST&#39;, True)<br>       if host:<br>            import re<br>            target = d.getVar(&#39;TARGET_ARCH&#39;, True)<br>            if re.match(host, target):<br>                return 0<br>       return 1<br><br>NOISO ?= &quot;${@check_iso_build(d)}&quot;<br><br><br>For the following reason<br><br></div><div>The COMPATIBLE_HOST value is NULL.  Now the question is why it contains value NULL.  That&#39;s simply because syslinux recipe does not inherit bootimg.bbclass.<br><br>I did following experiment - The <a href="http://luv-live-image.bb">luv-live-image.bb</a> inherit the bootimg.bbclass hence I have defined the COMPATIBLE_HOST as &quot;x86&quot; or &quot;aarch64&quot; depending on the build I am doing. This will work for x86 architecture but definitely going to break for aarch64  because of the below condition<br><br>if re.match(host, target):<br>                return 0<br> <br></div><div>Let me know If I need to experiment/change the logic of the implementation.<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
thanks,<br>
</blockquote></div><br></div></div>
</blockquote></div><br></div></div></div>