http://bugs.openembedded.org/show_bug.cgi?id=1263

           Summary: a fix and an enhancement for bootimg.class
           Product: Openembedded
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Build
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [EMAIL PROTECTED]


Small bug: of {DEPLOY_DIR_IMAGE} does not exist before running this class, the
imaging will fail.

Small enhancement: added ${IMAGE_POSTPROCESS_COMMAND}, just like
image_ipk.bbclass


--- org.openembedded.dev/classes/bootimg.bbclass        2006-07-23
19:59:31.000000000 +0100
+++ /home/tom/stv/oe-stv/org.openembedded.dev/classes/bootimg.bbclass  
2006-07-31 08:46:49.000000000 +0100
@@ -25,9 +25,12 @@
 SYSLINUXCFG="${BDIR}/syslinux.cfg"
 SYSLINUXMENU="${BDIR}/menu"
 inherit syslinux
+
+IMAGE_POSTPROCESS_COMMAND ?= ""

 build_boot_bin() {
        install -d ${BDIR}
+       install -d ${DEPLOY_DIR_IMAGE}
        install -m 0644 ${STAGING_KERNEL_DIR}/bzImage \
        ${BDIR}/vmlinuz

@@ -77,6 +80,8 @@
                -no-emul-boot -boot-load-size 4 -boot-info-table \
                ${IMAGE_ROOTFS}
        fi
+
+       ${IMAGE_POSTPROCESS_COMMAND}
 } 

 python do_bootimg() {


-- 
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
_______________________________________________
Oe mailing list
[email protected]
https://www.handhelds.org/mailman/listinfo/oe

Reply via email to