diff options
author | Andreas Müller <schnitzeltony@googlemail.com> | 2017-06-29 11:22:54 +0200 |
---|---|---|
committer | Andrei Gherzan <andrei@gherzan.com> | 2017-06-29 23:00:36 +0100 |
commit | fc17cd74191e248386d4874a5a7afc1de49e9922 (patch) | |
tree | 47c8c19154a0382d7c4e3cd3cbc61e98c3fa6a29 | |
parent | d9dbfe653638637f7deee1a977b98dde461c8415 (diff) | |
download | meta-raspberrypi-fc17cd74191e248386d4874a5a7afc1de49e9922.tar.gz |
sdcard_image-rpi: replace IMAGE_DEPENDS_rpi-sdimg by do_image_rpi-sdimg[depends]
* oe-core removed IMAGE_DEPENDS -> parsing fails with hint how to fix
* add required task for each recipe
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
-rw-r--r-- | classes/sdcard_image-rpi.bbclass | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/classes/sdcard_image-rpi.bbclass b/classes/sdcard_image-rpi.bbclass index 56f96f5..1f75ef7 100644 --- a/classes/sdcard_image-rpi.bbclass +++ b/classes/sdcard_image-rpi.bbclass | |||
@@ -50,13 +50,13 @@ IMAGE_ROOTFS_ALIGNMENT = "4096" | |||
50 | SDIMG_ROOTFS_TYPE ?= "ext3" | 50 | SDIMG_ROOTFS_TYPE ?= "ext3" |
51 | SDIMG_ROOTFS = "${IMGDEPLOYDIR}/${IMAGE_NAME}.rootfs.${SDIMG_ROOTFS_TYPE}" | 51 | SDIMG_ROOTFS = "${IMGDEPLOYDIR}/${IMAGE_NAME}.rootfs.${SDIMG_ROOTFS_TYPE}" |
52 | 52 | ||
53 | IMAGE_DEPENDS_rpi-sdimg = " \ | 53 | do_image_rpi_sdimg[depends] = " \ |
54 | parted-native \ | 54 | parted-native:do_populate_sysroot \ |
55 | mtools-native \ | 55 | mtools-native:do_populate_sysroot \ |
56 | dosfstools-native \ | 56 | dosfstools-native:do_populate_sysroot \ |
57 | virtual/kernel:do_deploy \ | 57 | virtual/kernel:do_deploy \ |
58 | ${IMAGE_BOOTLOADER} \ | 58 | ${IMAGE_BOOTLOADER}:do_deploy \ |
59 | ${@bb.utils.contains('KERNEL_IMAGETYPE', 'uImage', 'u-boot', '',d)} \ | 59 | ${@bb.utils.contains('KERNEL_IMAGETYPE', 'uImage', 'u-boot:do_deploy', '',d)} \ |
60 | " | 60 | " |
61 | 61 | ||
62 | # SD card image name | 62 | # SD card image name |