[yocto] [meta-raspberrypi][PATCH 1/2] sdcard_image-rpi.bbclass: Add the vardepexcludes
Khem Raj
raj.khem at gmail.com
Fri Jul 8 07:52:20 PDT 2016
The problem reappears because we need to add to the variable
and not assign
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
classes/sdcard_image-rpi.bbclass | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/classes/sdcard_image-rpi.bbclass b/classes/sdcard_image-rpi.bbclass
index 6960aca..57cefea 100644
--- a/classes/sdcard_image-rpi.bbclass
+++ b/classes/sdcard_image-rpi.bbclass
@@ -72,8 +72,8 @@ SDIMG = "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.rpi-sdimg"
FATPAYLOAD ?= ""
IMAGEDATESTAMP = "${@time.strftime('%Y.%m.%d',time.gmtime())}"
-IMAGE_CMD_rpi-sdimg[vardepsexclude] = "IMAGEDATESTAMP"
-IMAGE_CMD_rpi-sdimg[vardepsexclude] = "DATETIME"
+IMAGE_CMD_rpi-sdimg[vardepsexclude] += "IMAGEDATESTAMP"
+IMAGE_CMD_rpi-sdimg[vardepsexclude] += "DATETIME"
IMAGE_CMD_rpi-sdimg () {
--
2.9.0
More information about the yocto
mailing list