From 510f7c8672d6502d9be9eae2551c6f9373e1e355 Mon Sep 17 00:00:00 2001 From: malus-brandywine <51343135+malus-brandywine@users.noreply.github.com> Date: Tue, 4 Jun 2019 18:07:09 -0400 Subject: sdcard_image-rpi : minor bug in use of FATPAYLOAD Double quotation marks were added around FATPAYLOAD to prevent parsing error when FATPAYLOAD contains list of file names Signed-off-by: Nataliya Korovkina --- classes/sdcard_image-rpi.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/sdcard_image-rpi.bbclass b/classes/sdcard_image-rpi.bbclass index 538803d..6cbee8b 100644 --- a/classes/sdcard_image-rpi.bbclass +++ b/classes/sdcard_image-rpi.bbclass @@ -143,7 +143,7 @@ IMAGE_CMD_rpi-sdimg () { fi fi - if [ -n ${FATPAYLOAD} ] ; then + if [ -n "${FATPAYLOAD}" ] ; then echo "Copying payload into VFAT" for entry in ${FATPAYLOAD} ; do # add the || true to stop aborting on vfat issues like not supporting .~lock files -- cgit v1.2.3-54-g00ecf