diff options
author | Anton Gerasimov <anton@advancedtelematic.com> | 2017-04-25 15:21:07 +0200 |
---|---|---|
committer | Anton Gerasimov <anton@advancedtelematic.com> | 2017-04-26 11:04:39 +0200 |
commit | 4d610e9f230dd23589b18588446c2368f3a99446 (patch) | |
tree | 4c2f39cc49525698ef8197646bd652db270df8b8 /classes/sota_porter.bbclass | |
parent | 4ebfc44b3eff288b8cc2f6b2b4251159cbeab14b (diff) | |
download | meta-updater-4d610e9f230dd23589b18588446c2368f3a99446.tar.gz |
Replace includes with bblcasses
They are more flexible and allow tricks like conditionally inheriting
machine-related classes from the main one which makes things easier
for external users like AGL
Diffstat (limited to 'classes/sota_porter.bbclass')
-rw-r--r-- | classes/sota_porter.bbclass | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/classes/sota_porter.bbclass b/classes/sota_porter.bbclass new file mode 100644 index 0000000..a8f5ba1 --- /dev/null +++ b/classes/sota_porter.bbclass | |||
@@ -0,0 +1,10 @@ | |||
1 | # Commit united image to OSTree, not just uImage | ||
2 | OSTREE_KERNEL = "uImage+dtb" | ||
3 | |||
4 | EXTRA_IMAGEDEPENDS_append_sota = " porter-bootfiles" | ||
5 | IMAGE_CLASSES_append_sota = " image_types_uboot " | ||
6 | IMAGE_BOOT_FILES_sota += "porter-bootfiles/*" | ||
7 | |||
8 | OSTREE_BOOTLOADER ?= "u-boot" | ||
9 | UBOOT_MACHINE_sota = "porter_config" | ||
10 | |||