[OE-core] [OE-core Yocto PATCH 3/4] bootimg: Skip build iso image for aarch64

Naresh Bhat naresh.bhat at linaro.org
Tue Mar 3 15:46:23 UTC 2015


Build iso image required syslinux package.  We have already skip the syslinux
package.  Hence just skip the iso image build too.

Signed-off-by: Naresh Bhat <naresh.bhat at linaro.org>
Reviewed-by: Matt Fleming <matt.fleming at intel.com>
---
 meta/classes/bootimg.bbclass |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/meta/classes/bootimg.bbclass b/meta/classes/bootimg.bbclass
index a8e0c19..2edba3a 100644
--- a/meta/classes/bootimg.bbclass
+++ b/meta/classes/bootimg.bbclass
@@ -266,7 +266,11 @@ python do_bootimg() {
     if d.getVar("EFI", True) == "1":
         bb.build.exec_func('build_efi_cfg', d)
     bb.build.exec_func('build_hddimg', d)
-    bb.build.exec_func('build_iso', d)
+
+    if [ "${TARGET_ARCH}" == "aarch64" ]:
+             return
+    else:
+            bb.build.exec_func('build_iso', d)
 }
 
 IMAGE_TYPEDEP_iso = "ext3"
-- 
1.7.9.5




More information about the Openembedded-core mailing list