summaryrefslogtreecommitdiff
path: root/meta/classes
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2012-04-19 21:54:25 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-04-24 15:51:36 +0100
commit9a946554e4843841c2ec3cbb2575e80d0ccdc29f (patch)
treeb9887b5d53e33855d4f1652930ccc332fca29abb /meta/classes
parent963742f5a9bce2dfedd58350af754d256e2211cb (diff)
downloadopenembedded-core-9a946554e4843841c2ec3cbb2575e80d0ccdc29f.tar.gz
openembedded-core-9a946554e4843841c2ec3cbb2575e80d0ccdc29f.tar.bz2
openembedded-core-9a946554e4843841c2ec3cbb2575e80d0ccdc29f.zip
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@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/bootimg.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/bootimg.bbclass b/meta/classes/bootimg.bbclass
index f4981d8e37..370b3786f2 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