diff options
author | Ming Liu <liu.ming50@gmail.com> | 2017-11-11 15:22:32 +0800 |
---|---|---|
committer | Ming Liu <liu.ming50@gmail.com> | 2017-11-17 09:51:47 +0800 |
commit | d8ba563dab24bdc7bb4f25b215938f2928d38e77 (patch) | |
tree | 00e46ad05cc9d6b776d9b980c61164c2ee97d15e | |
parent | 71410bd31ec76e55247807551e68a2061e277b08 (diff) | |
download | meta-updater-d8ba563dab24bdc7bb4f25b215938f2928d38e77.tar.gz |
image_types_ota.bbclass: drop deprecated IMAGE_DEPENDS
IMAGE_DEPENDS is deprecated in latest OE, replace it with:
do_image_<type>[depends] += "<recipe>:<task>"
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
-rw-r--r-- | classes/image_types_ota.bbclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/classes/image_types_ota.bbclass b/classes/image_types_ota.bbclass index 09c30ff..88fb1c5 100644 --- a/classes/image_types_ota.bbclass +++ b/classes/image_types_ota.bbclass | |||
@@ -11,9 +11,9 @@ inherit image | |||
11 | 11 | ||
12 | OSTREE_BOOTLOADER ??= 'u-boot' | 12 | OSTREE_BOOTLOADER ??= 'u-boot' |
13 | 13 | ||
14 | IMAGE_DEPENDS_otaimg = "e2fsprogs-native:do_populate_sysroot \ | 14 | do_image_otaimg[depends] += "e2fsprogs-native:do_populate_sysroot \ |
15 | ${@'grub:do_populate_sysroot' if d.getVar('OSTREE_BOOTLOADER', True) == 'grub' else ''} \ | 15 | ${@'grub:do_populate_sysroot' if d.getVar('OSTREE_BOOTLOADER', True) == 'grub' else ''} \ |
16 | ${@'virtual/bootloader:do_deploy' if d.getVar('OSTREE_BOOTLOADER', True) == 'u-boot' else ''}" | 16 | ${@'virtual/bootloader:do_deploy' if d.getVar('OSTREE_BOOTLOADER', True) == 'u-boot' else ''}" |
17 | 17 | ||
18 | calculate_size () { | 18 | calculate_size () { |
19 | BASE=$1 | 19 | BASE=$1 |