summaryrefslogtreecommitdiffstats
path: root/meta-sota
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
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')
-rw-r--r--meta-sota/classes/image_types_ota.bbclass2
-rw-r--r--meta-sota/conf/include/agl-sota.inc1
2 files changed, 3 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 ''}"
diff --git a/meta-sota/conf/include/agl-sota.inc b/meta-sota/conf/include/agl-sota.inc
index 700d36a..9e8e794 100644
--- a/meta-sota/conf/include/agl-sota.inc
+++ b/meta-sota/conf/include/agl-sota.inc
@@ -19,6 +19,7 @@ IMAGE_FSTYPES_remove_raspberrypi2 = "wic"
# Still to be integrared
IMAGE_FSTYPES_remove_cyclone5 = "wic"
IMAGE_FSTYPES_remove_dra7xx-evm = "wic"
+IMAGE_FSTYPES_remove_dragonboard-410c = "wic"
IMAGE_FSTYPES_remove_h3ulcb = "wic"
IMAGE_FSTYPES_remove_intel-corei7-64 = "wic"
IMAGE_FSTYPES_remove_joule = "wic"