diff options
-rw-r--r-- | 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 d7f48a80..2bbf4c47 100644 --- a/classes/sdcard_image.bbclass +++ b/classes/sdcard_image.bbclass | |||
@@ -92,8 +92,10 @@ IMAGE_CMD_sdimg () { | |||
92 | suffix=bin | 92 | suffix=bin |
93 | fi | 93 | fi |
94 | 94 | ||
95 | cp -v ${IMAGE_ROOTFS}/boot/{user.txt,uEnv.txt} ${WORKDIR}/tmp-mnt-boot || true | ||
96 | |||
95 | if [ -e ${IMAGE_ROOTFS}/boot/u-boot.$suffix ] ; then | 97 | if [ -e ${IMAGE_ROOTFS}/boot/u-boot.$suffix ] ; then |
96 | cp -v ${IMAGE_ROOTFS}/boot/{u-boot.$suffix,user.txt,uEnv.txt} ${WORKDIR}/tmp-mnt-boot || true | 98 | cp -v ${IMAGE_ROOTFS}/boot/{u-boot.$suffix} ${WORKDIR}/tmp-mnt-boot || true |
97 | else | 99 | else |
98 | cp -v ${DEPLOY_DIR_IMAGE}/u-boot-${MACHINE}.$suffix ${WORKDIR}/tmp-mnt-boot/u-boot.$suffix | 100 | cp -v ${DEPLOY_DIR_IMAGE}/u-boot-${MACHINE}.$suffix ${WORKDIR}/tmp-mnt-boot/u-boot.$suffix |
99 | fi | 101 | fi |