summaryrefslogtreecommitdiffstats
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-26 10:05:12 +0100
commit2b05d3545594cb80289f0850b85184bd2422f806 (patch)
tree9f4e2de3878053f98491cd13407631deca388f4e
parentc65dc384179b9aa86224e3a40e87fd4c1986792c (diff)
downloadpoky-2b05d3545594cb80289f0850b85184bd2422f806.tar.gz
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] (From OE-Core rev: 9a946554e4843841c2ec3cbb2575e80d0ccdc29f) Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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() {
103 -r ${ISODIR} 103 -r ${ISODIR}
104 fi 104 fi
105 105
106 isohybrid ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.iso
107
106 cd ${DEPLOY_DIR_IMAGE} 108 cd ${DEPLOY_DIR_IMAGE}
107 rm -f ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.iso 109 rm -f ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.iso
108 ln -s ${IMAGE_NAME}.iso ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.iso 110 ln -s ${IMAGE_NAME}.iso ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.iso