summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Gerasimov <anton@advancedtelematic.com>2017-04-20 13:58:41 +0200
committerAnton Gerasimov <anton@advancedtelematic.com>2017-04-20 13:58:41 +0200
commite6ecb4a285d6d0d599155951dc101166e6440881 (patch)
tree2b9329291a44749fe6760c48c30a33673660aa3c
parenteae33b943dbf1bd9d863a8255e47726f7cd93418 (diff)
downloadmeta-updater-e6ecb4a285d6d0d599155951dc101166e6440881.tar.gz
Set u-boot as default bootloader
-rw-r--r--classes/image_types_ota.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/classes/image_types_ota.bbclass b/classes/image_types_ota.bbclass
index 819a83c..cb71899 100644
--- a/classes/image_types_ota.bbclass
+++ b/classes/image_types_ota.bbclass
@@ -9,6 +9,8 @@
9 9
10inherit image 10inherit image
11 11
12OSTREE_BOOTLOADER ??= 'u-boot'
13
12IMAGE_DEPENDS_otaimg = "e2fsprogs-native:do_populate_sysroot \ 14IMAGE_DEPENDS_otaimg = "e2fsprogs-native:do_populate_sysroot \
13 ${@'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 ''} \
14 ${@'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 ''}"