diff options
author | Koen Kooi <koen@dominion.thruhere.net> | 2011-11-04 15:03:55 +0100 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2011-11-04 15:03:55 +0100 |
commit | 7ea2cf484989d867308740768aefee459840623f (patch) | |
tree | ac86e8761b1f6e78cc61c45bcf7ad7bfc174fb5a /classes | |
parent | 6ce251680874007fe52074f0b3bc02c20b856573 (diff) | |
download | meta-ti-7ea2cf484989d867308740768aefee459840623f.tar.gz |
sdcard_image bbclass: make payload errors non-fatal
Diffstat (limited to 'classes')
-rw-r--r-- | classes/sdcard_image.bbclass | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/classes/sdcard_image.bbclass b/classes/sdcard_image.bbclass index 281aaddf..adf026a9 100644 --- a/classes/sdcard_image.bbclass +++ b/classes/sdcard_image.bbclass | |||
@@ -109,7 +109,8 @@ IMAGE_CMD_sdimg () { | |||
109 | if [ -n ${FATPAYLOAD} ] ; then | 109 | if [ -n ${FATPAYLOAD} ] ; then |
110 | echo "Copying payload into VFAT" | 110 | echo "Copying payload into VFAT" |
111 | for entry in ${FATPAYLOAD} ; do | 111 | for entry in ${FATPAYLOAD} ; do |
112 | cp -av ${IMAGE_ROOTFS}$entry ${WORKDIR}/tmp-mnt-boot | 112 | # add the || true to stop aborting on vfat issues like not supporting .~lock files |
113 | cp -av ${IMAGE_ROOTFS}$entry ${WORKDIR}/tmp-mnt-boot || true | ||
113 | done | 114 | done |
114 | fi | 115 | fi |
115 | 116 | ||