[meta-intel] Issue with ovmf license under Pyro

Dominig Ar Foll dominig.arfoll at fridu.net
Mon Oct 2 10:41:03 PDT 2017


Hello,

I am seeing an issue with the ovmf license in AGL,  since yocto has
moved to Pyro.
I can fix by deactivating it, but I do not understand why I see the error.

So it will come back each time that I sync on meta-intel agin.

Any help would be welcome.
Log and corrective patches are bellow.

Any help would be welcome.

-- 
Dominig ar Foll
Senior Software Architect
Intel Open Source Technology Centre


-------------------log ---------------------
ERROR: initramfs-netboot-image-1.0-r0 do_image_complete: Error
executing a python function in exec_python_func() autogenerated:

The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
     0001:
 *** 0002:write_deploy_manifest(d)
     0003:
File: '/home/dominig/AGL/poky/meta/classes/license.bbclass', lineno:
33, function: write_deploy_manifest
     0029:        'w+').write(output)
     0030:}
     0031:
     0032:python write_deploy_manifest() {
 *** 0033:    license_deployed_manifest(d)
     0034:}
     0035:
     0036:python license_create_manifest() {
     0037:    import oe.packagedata
File: '/home/dominig/AGL/poky/meta/classes/license.bbclass', lineno:
192, function: license_deployed_manifest
     0188:        man_dic[dep]["IMAGE_MANIFEST"] = True
     0189:        man_dic[dep]["PN"] = dep
     0190:        man_dic[dep]["FILES"] = \
     0191:            " ".join(get_deployed_files(dep_dic[dep]))
 *** 0192:        with open(os.path.join(lic_dir, dep, "recipeinfo"), "r") as f:
     0193:            for line in f.readlines():
     0194:                key,val = line.split(": ", 1)
     0195:                man_dic[dep][key] = val[:-1]
     0196:
Exception: FileNotFoundError: [Errno 2] No such file or directory:
'/home/dominig/AGL/build/tmp/deploy/licenses/ovmf/recipeinfo'

ERROR: initramfs-netboot-image-1.0-r0 do_image_complete: Function
failed: write_deploy_manifest
ERROR: Logfile of failure stored in:
/home/dominig/AGL/build/tmp/work/intel_corei7_64-agl-linux/initramfs-netboot-image/1.0-r0/temp/log.do_image_complete.19739
ERROR: Task (/home/dominig/AGL/meta-agl/meta-netboot/recipes-core/images/initramfs-netboot-image.bb:do_image_complete)
failed with exit code '1'
------------------ Patch -------------------
diff --git a/conf/machine/include/qemu-intel.inc
b/conf/machine/include/qemu-intel.inc
index 8151040..f167f4c 100644
--- a/conf/machine/include/qemu-intel.inc
+++ b/conf/machine/include/qemu-intel.inc
@@ -5,7 +5,8 @@
 EXTRA_IMAGEDEPENDS += "qemu-native qemu-helper-native"

 # Build ovmf firmware for uefi support in qemu.
-EXTRA_IMAGEDEPENDS += "ovmf"
+# Deactivated as crashes under Yocto 2.3 (Pyro)
+#EXTRA_IMAGEDEPENDS += "ovmf"

 # runqemu uses virtio, so we have to enable the corresponding
 # kernel drivers.


More information about the meta-intel mailing list