diff options
author | Damien Lespiau <damien.lespiau@intel.com> | 2012-04-19 21:54:25 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-04-26 10:05:12 +0100 |
commit | 2b05d3545594cb80289f0850b85184bd2422f806 (patch) | |
tree | 9f4e2de3878053f98491cd13407631deca388f4e | |
parent | c65dc384179b9aa86224e3a40e87fd4c1986792c (diff) | |
download | ast2050-yocto-poky-2b05d3545594cb80289f0850b85184bd2422f806.zip ast2050-yocto-poky-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.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 |