Skip to contentSkip to conversation

image_types_fsl: fix deprecated notation

PATCH New Trevor Woerner 1 participant 1 message Jun 30, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 image_types_fsl: fix deprecated notation

The old "IMAGE_DEPENDS..." notation has been deprecated in favour of the newer "do_image...[depends]" notation.

---
 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.0