[oe-commits] Damien Lespiau : bootimg.bbclass: Tweak iso images to become hybrid images

git at git.openembedded.org git at git.openembedded.org
Thu Apr 26 09:10:21 UTC 2012


Module: openembedded-core.git
Branch: master
Commit: 9a946554e4843841c2ec3cbb2575e80d0ccdc29f
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=9a946554e4843841c2ec3cbb2575e80d0ccdc29f

Author: Damien Lespiau <damien.lespiau at intel.com>
Date:   Thu Apr 19 21:54:25 2012 +0000

bootimg.bbclass: Tweak iso images to become hybrid images

This allows iso images to be written to usb keys and booted on systems which
have a BIOS which support this. There is no real down side to tweaking the iso
images in this way.

[YOCTO #1763 partial]

Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/classes/bootimg.bbclass |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/meta/classes/bootimg.bbclass b/meta/classes/bootimg.bbclass
index f4981d8..370b378 100644
--- a/meta/classes/bootimg.bbclass
+++ b/meta/classes/bootimg.bbclass
@@ -103,6 +103,8 @@ build_iso() {
 			-r ${ISODIR}
 	fi
 
+	isohybrid ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.iso
+
 	cd ${DEPLOY_DIR_IMAGE}
 	rm -f ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.iso
 	ln -s ${IMAGE_NAME}.iso ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.iso





More information about the Openembedded-commits mailing list