From 321a7dc9d934f31aae27828ff8c56d6c69ecc665 Mon Sep 17 00:00:00 2001 From: Damien Lespiau Date: Thu, 10 Nov 2011 18:29:50 +0000 Subject: bootimg: Create a valid boot sector for the iso image It's possible to create an "hybrid" iso image that you can both burn to a CD-Rom and dd to a USB key. isohybrid will create a valid boot sector for the USB key case. [YOCTO #1763] Signed-off-by: Damien Lespiau Signed-off-by: Richard Purdie --- meta/classes/bootimg.bbclass | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta/classes/bootimg.bbclass') diff --git a/meta/classes/bootimg.bbclass b/meta/classes/bootimg.bbclass index eecc2bf7e3..3914311254 100644 --- a/meta/classes/bootimg.bbclass +++ b/meta/classes/bootimg.bbclass @@ -111,6 +111,8 @@ build_boot_bin() { -no-emul-boot -boot-load-size 4 -boot-info-table \ ${S}/cd/ + 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 -- cgit 1.2.3-korg