[meta-freescale] [PATCH] classes/image_types_fsl.bbclass: replace IMAGE_DEPENDS_sdimg by do_image_sdimage[depends]
Khem Raj
raj.khem at gmail.com
Thu Jul 6 15:59:01 PDT 2017
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
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
classes/image_types_fsl.bbclass | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/classes/image_types_fsl.bbclass b/classes/image_types_fsl.bbclass
index 075b18cf..58c1972e 100644
--- a/classes/image_types_fsl.bbclass
+++ b/classes/image_types_fsl.bbclass
@@ -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"
--
2.13.2
More information about the meta-freescale
mailing list