diff options
author | Anton Gerasimov <anton@advancedtelematic.com> | 2017-04-20 13:58:41 +0200 |
---|---|---|
committer | Anton Gerasimov <anton@advancedtelematic.com> | 2017-04-20 13:58:41 +0200 |
commit | e6ecb4a285d6d0d599155951dc101166e6440881 (patch) | |
tree | 2b9329291a44749fe6760c48c30a33673660aa3c /classes | |
parent | eae33b943dbf1bd9d863a8255e47726f7cd93418 (diff) | |
download | meta-updater-e6ecb4a285d6d0d599155951dc101166e6440881.tar.gz |
Set u-boot as default bootloader
Diffstat (limited to 'classes')
-rw-r--r-- | classes/image_types_ota.bbclass | 2 |
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 | ||
10 | inherit image | 10 | inherit image |
11 | 11 | ||
12 | OSTREE_BOOTLOADER ??= 'u-boot' | ||
13 | |||
12 | IMAGE_DEPENDS_otaimg = "e2fsprogs-native:do_populate_sysroot \ | 14 | IMAGE_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 ''}" |