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