Skip to contentSkip to conversation

classes/image_types_fsl.bbclass: replace IMAGE_DEPENDS_sdimg by do_image_sdimage[depends]

PATCH Superseded Khem Raj 1 participant 1 message Jul 6, 2017

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 classes/image_types_fsl.bbclass: replace IMAGE_DEPENDS_sdimg by do_image_sdimage[depends]

Fixes

ERROR: /mnt/a/oe/sources/meta-variscite-fslc/recipes-fsl/images/fsl-image-gui.bb: Deprecated variable(s) found: "IMAGE_DEPENDS_sdcard". Use do_image_<type>[depends] += "<recipe>:<task>" instead

---
 classes/image_types_fsl.bbclass | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
classes/image_types_fsl.bbclass +5 -5
index 075b18cf..58c1972e 100644
@@ -77,11 +77,11 @@ BAREBOX_ENV_SPACE ?= "512"
 # Set alignment to 4MB [in KiB]
 IMAGE_ROOTFS_ALIGNMENT = "4096"
 
-IMAGE_DEPENDS_sdcard = "parted-native:do_populate_sysroot \
-                        dosfstools-native:do_populate_sysroot \
-                        mtools-native:do_populate_sysroot \
-                        virtual/kernel:do_deploy \
-                        ${@d.getVar('IMAGE_BOOTLOADER', True) and d.getVar('IMAGE_BOOTLOADER', True) + ':do_deploy' or ''}"
+do_image_sdcard[depends] = "parted-native:do_populate_sysroot \
+                            dosfstools-native:do_populate_sysroot \
+                            mtools-native:do_populate_sysroot \
+                            virtual/kernel:do_deploy \
+                            ${@d.getVar('IMAGE_BOOTLOADER', True) and d.getVar('IMAGE_BOOTLOADER', True) + ':do_deploy' or ''}"
 
 SDCARD = "${IMGDEPLOYDIR}/${IMAGE_NAME}.rootfs.sdcard"
 
Signature · 1 line
2.13.2