summaryrefslogtreecommitdiffstats
path: root/meta-sota/classes
diff options
context:
space:
mode:
authorAnton Gerasimov <anton@advancedtelematic.com>2017-04-11 14:39:01 +0200
committerAnton Gerasimov <anton@advancedtelematic.com>2017-04-11 14:39:01 +0200
commite4bc8c7058fbf27969a967a5e30f15fcf22544bd (patch)
treeb9ac1379e6eb99b0232105be4be6e0b00b9ef7eb /meta-sota/classes
parent0ce00dac113c83456bdacbf711b08a2f19244f55 (diff)
Set default OSTREE_BOOTLOADER in bbclass
Bug-AGL: SPEC-529 Change-Id: I27c6925e9ce3027b405ae7f67bac3234ab79a9ad Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
Diffstat (limited to 'meta-sota/classes')
-rw-r--r--meta-sota/classes/image_types_ota.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-sota/classes/image_types_ota.bbclass b/meta-sota/classes/image_types_ota.bbclass
index 58bc7f0..d2d9991 100644
--- a/meta-sota/classes/image_types_ota.bbclass
+++ b/meta-sota/classes/image_types_ota.bbclass
@@ -9,6 +9,8 @@
inherit image
+OSTREE_BOOTLOADER ??= 'u-boot'
+
IMAGE_DEPENDS_otaimg = "e2fsprogs-native:do_populate_sysroot \
${@'grub:do_populate_sysroot' if d.getVar('OSTREE_BOOTLOADER', True) == 'grub' else ''} \
${@'virtual/bootloader:do_deploy' if d.getVar('OSTREE_BOOTLOADER', True) == 'u-boot' else ''}"