Pick up uEnv.txt/user.txt U-boot environment files installed in /boot Signed-off-by: Joel A Fernandes <joelag...@ti.com> --- classes/sdcard_image.bbclass | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/classes/sdcard_image.bbclass b/classes/sdcard_image.bbclass index ed9d779..c535ad2 100644 --- a/classes/sdcard_image.bbclass +++ b/classes/sdcard_image.bbclass @@ -86,8 +86,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 -- 1.7.0.4 _______________________________________________ Angstrom-distro-devel mailing list Angstrom-distro-devel@linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel