diff options
Diffstat (limited to 'classes/sota_raspberrypi.bbclass')
-rw-r--r-- | classes/sota_raspberrypi.bbclass | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/classes/sota_raspberrypi.bbclass b/classes/sota_raspberrypi.bbclass new file mode 100644 index 0000000..cc6b666 --- /dev/null +++ b/classes/sota_raspberrypi.bbclass | |||
@@ -0,0 +1,11 @@ | |||
1 | IMAGE_CLASSES += "${@bb.utils.contains('DISTRO_FEATURES', 'sota', 'image_types_uboot sdcard_image-rpi-ota', '', d)}" | ||
2 | IMAGE_FSTYPES += "${@bb.utils.contains('DISTRO_FEATURES', 'sota', 'rpi-sdimg-ota.xz', 'rpi-sdimg.xz', d)}" | ||
3 | |||
4 | IMAGE_FSTYPES_remove = "${@bb.utils.contains('DISTRO_FEATURES', 'sota', 'wic rpi-sdimg rpi-sdimg.xz', '', d)}" | ||
5 | |||
6 | KERNEL_IMAGETYPE_sota = "uImage" | ||
7 | PREFERRED_PROVIDER_virtual/bootloader_sota ?= "u-boot" | ||
8 | UBOOT_MACHINE_raspberrypi2_sota ?= "rpi_2_defconfig" | ||
9 | UBOOT_MACHINE_raspberrypi3_sota ?= "rpi_3_32b_defconfig" | ||
10 | |||
11 | OSTREE_BOOTLOADER ?= "u-boot" | ||