On April 21, 2016 9:55:21 PM GMT+02:00, Yannick GICQUEL 
<[email protected]> wrote:

>>> +do_install_prepend_pn-u-boot () {
>>> +   # Concatenate U-Boot w/o DTB & DTB with public key
>>> +   # (cf. kernel-fitimage.bbclass for more details)
>>> +   cd ${DEPLOYDIR}
>>> +   if [ "x${UBOOT_SIGN_ENABLE}" = "x1" ]; then
>>> +           if [ -e "${UBOOT_NODTB_IMAGE}" -a -e "${UBOOT_DTB_IMAGE}" ]; 
>>> then
>>> +                   cat ${UBOOT_NODTB_IMAGE} ${UBOOT_DTB_IMAGE} > 
>>> ${UBOOT_IMAGE}
>>> +                   cat ${UBOOT_NODTB_IMAGE} ${UBOOT_DTB_IMAGE} >
>${B}/${UBOOT_BINARY}


+                       cat ${UBOOT_NODTB_IMAGE} ${UBOOT_DTB_IMAGE} | tee 
${B}/${UBOOT_BINARY} > ${UBOOT_IMAGE}

thanks,

>>> +           else
>>> +                   bbwarn "Failure while adding public key to u-boot 
>>> binary.
>Verified boot won't be available."
>>> +           fi
>>> +   fi
>>> +}
>>> +


-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to