<p dir="ltr"><br>
On Jun 6, 2014 8:11 PM, &quot;Corneliu Stoicescu&quot; &lt;<a href="mailto:corneliux.stoicescu@intel.com">corneliux.stoicescu@intel.com</a>&gt; wrote:<br>
&gt;<br>
&gt; YB: #6254<br>
&gt;<br>
&gt; The QemuTargetControl class does not specify any kernel naming but the runqemu script it uses uses the &quot; KERNEL_IMAGETYPE + MACHINE + &#39;.bin&#39; &quot; naming scheme.<br>
&gt; Modifying the other major target controller class, MasterImageHardwareTarget, to use the same kernel naming scheme.<br>
&gt;</p>
<p dir="ltr">You can&#39;t do that because not all targets (bbb, nuc, etc) use a bin kernel...</p>
<p dir="ltr">&gt; This is usefull also to outside scripts that want to anticipate the kernel file name for all target controllers.</p>
<p dir="ltr">And what&#39;s wrong with the link? Bitbake will always take care of that and point to the real file why can&#39;t the script dereference that?</p>
<p dir="ltr">Cheers,<br>
Stefan<br></p>
<p dir="ltr">&gt;<br>
&gt; Signed-off-by: Corneliu Stoicescu &lt;<a href="mailto:corneliux.stoicescu@intel.com">corneliux.stoicescu@intel.com</a>&gt;<br>
&gt; ---<br>
&gt;  meta/lib/oeqa/controllers/masterimage.py | 2 +-<br>
&gt;  1 file changed, 1 insertion(+), 1 deletion(-)<br>
&gt;<br>
&gt; diff --git a/meta/lib/oeqa/controllers/masterimage.py b/meta/lib/oeqa/controllers/masterimage.py<br>
&gt; index b03c5bf..311f0cf 100644<br>
&gt; --- a/meta/lib/oeqa/controllers/masterimage.py<br>
&gt; +++ b/meta/lib/oeqa/controllers/masterimage.py<br>
&gt; @@ -52,7 +52,7 @@ class MasterImageHardwareTarget(oeqa.targetcontrol.BaseTarget):<br>
&gt;          # test rootfs + kernel<br>
&gt;          self.image_fstype = self.get_image_fstype(d)<br>
&gt;          self.rootfs = os.path.join(d.getVar(&quot;DEPLOY_DIR_IMAGE&quot;, True), d.getVar(&quot;IMAGE_LINK_NAME&quot;, True) + &#39;.&#39; + self.image_fstype)<br>
&gt; -        self.kernel = os.path.join(d.getVar(&quot;DEPLOY_DIR_IMAGE&quot;, True), d.getVar(&quot;KERNEL_IMAGETYPE&quot;))<br>
&gt; +        self.kernel = os.path.join(d.getVar(&quot;DEPLOY_DIR_IMAGE&quot;, True), d.getVar(&quot;KERNEL_IMAGETYPE&quot;) + &#39;-&#39; + d.getVar(&#39;MACHINE&#39;) + &#39;.bin&#39;)<br>
&gt;          if not os.path.isfile(self.rootfs):<br>
&gt;              # we could&#39;ve checked that IMAGE_FSTYPES contains tar.gz but the config for running testimage might not be<br>
&gt;              # the same as the config with which the image was build, ie<br>
&gt; --<br>
&gt; 1.8.3.2<br>
&gt;<br>
&gt; --<br>
&gt; _______________________________________________<br>
&gt; Openembedded-core mailing list<br>
&gt; <a href="mailto:Openembedded-core@lists.openembedded.org">Openembedded-core@lists.openembedded.org</a><br>
&gt; <a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core">http://lists.openembedded.org/mailman/listinfo/openembedded-core</a><br>
</p>