diff options
author | OYTIS <tossel@gmail.com> | 2017-11-17 09:54:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-17 09:54:19 +0100 |
commit | daa6f7201a8450556f526e15a9bd3395eb85ed29 (patch) | |
tree | 6b93bca1a05018e5cd0c9244c96a2e8d95a4df7b | |
parent | 71410bd31ec76e55247807551e68a2061e277b08 (diff) | |
parent | a5ba79191a87869596b84296519f5c6f0e773a11 (diff) | |
download | meta-updater-daa6f7201a8450556f526e15a9bd3395eb85ed29.tar.gz |
Merge pull request #182 from liuming50/master
Some bbclass fixes
-rw-r--r-- | classes/image_types_ostree.bbclass | 2 | ||||
-rw-r--r-- | classes/image_types_ota.bbclass | 8 |
2 files changed, 3 insertions, 7 deletions
diff --git a/classes/image_types_ostree.bbclass b/classes/image_types_ostree.bbclass index 172f2c8..8143b67 100644 --- a/classes/image_types_ostree.bbclass +++ b/classes/image_types_ostree.bbclass | |||
@@ -1,7 +1,5 @@ | |||
1 | # OSTree deployment | 1 | # OSTree deployment |
2 | 2 | ||
3 | inherit image | ||
4 | |||
5 | IMAGE_DEPENDS_ostree = "ostree-native:do_populate_sysroot \ | 3 | IMAGE_DEPENDS_ostree = "ostree-native:do_populate_sysroot \ |
6 | openssl-native:do_populate_sysroot \ | 4 | openssl-native:do_populate_sysroot \ |
7 | coreutils-native:do_populate_sysroot \ | 5 | coreutils-native:do_populate_sysroot \ |
diff --git a/classes/image_types_ota.bbclass b/classes/image_types_ota.bbclass index 09c30ff..ae217e3 100644 --- a/classes/image_types_ota.bbclass +++ b/classes/image_types_ota.bbclass | |||
@@ -7,13 +7,11 @@ | |||
7 | # boot scripts, kernel and initramfs images | 7 | # boot scripts, kernel and initramfs images |
8 | # | 8 | # |
9 | 9 | ||
10 | inherit image | ||
11 | |||
12 | OSTREE_BOOTLOADER ??= 'u-boot' | 10 | OSTREE_BOOTLOADER ??= 'u-boot' |
13 | 11 | ||
14 | IMAGE_DEPENDS_otaimg = "e2fsprogs-native:do_populate_sysroot \ | 12 | do_image_otaimg[depends] += "e2fsprogs-native:do_populate_sysroot \ |
15 | ${@'grub:do_populate_sysroot' if d.getVar('OSTREE_BOOTLOADER', True) == 'grub' else ''} \ | 13 | ${@'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 ''}" | 14 | ${@'virtual/bootloader:do_deploy' if d.getVar('OSTREE_BOOTLOADER', True) == 'u-boot' else ''}" |
17 | 15 | ||
18 | calculate_size () { | 16 | calculate_size () { |
19 | BASE=$1 | 17 | BASE=$1 |