X-Git-Url: https://git.ti.com/gitweb?p=glsdk%2Fmeta-ti-glsdk.git;a=blobdiff_plain;f=classes%2Fsdcard_image.bbclass;h=2bbf4c47cf61fa6e9f8ae3ccb524fa8080f8dda8;hp=d7f48a804bf97591b9803076b26d3b9baa513434;hb=9c078a61edeeb970f77e6d7a7a8cd09382bd27a4;hpb=9c6d6d949037fb84cb501c1899033912fe4aff39;ds=inline diff --git a/classes/sdcard_image.bbclass b/classes/sdcard_image.bbclass index d7f48a8..2bbf4c4 100644 --- a/classes/sdcard_image.bbclass +++ b/classes/sdcard_image.bbclass @@ -92,8 +92,10 @@ IMAGE_CMD_sdimg () { suffix=bin fi + cp -v ${IMAGE_ROOTFS}/boot/{user.txt,uEnv.txt} ${WORKDIR}/tmp-mnt-boot || true + if [ -e ${IMAGE_ROOTFS}/boot/u-boot.$suffix ] ; then - cp -v ${IMAGE_ROOTFS}/boot/{u-boot.$suffix,user.txt,uEnv.txt} ${WORKDIR}/tmp-mnt-boot || true + cp -v ${IMAGE_ROOTFS}/boot/{u-boot.$suffix} ${WORKDIR}/tmp-mnt-boot || true else cp -v ${DEPLOY_DIR_IMAGE}/u-boot-${MACHINE}.$suffix ${WORKDIR}/tmp-mnt-boot/u-boot.$suffix fi