summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--conf/distro/sota.conf.inc19
1 files changed, 17 insertions, 2 deletions
diff --git a/conf/distro/sota.conf.inc b/conf/distro/sota.conf.inc
index c7f8cde..ccbb0e4 100644
--- a/conf/distro/sota.conf.inc
+++ b/conf/distro/sota.conf.inc
@@ -1,7 +1,7 @@
1IMAGE_INSTALL_append_sota = " rvi-sota-client" 1IMAGE_INSTALL_append = " rvi-sota-client"
2 2
3# live image for OSTree-enabled systems 3# live image for OSTree-enabled systems
4IMAGE_CLASSES_append_sota = "image_types_ostree image_types_ota" 4IMAGE_CLASSES_append = " image_types_ostree image_types_ota"
5IMAGE_FSTYPES += "ostreepush otaimg" 5IMAGE_FSTYPES += "ostreepush otaimg"
6 6
7# Please redefine OSTREE_REPO in order to have a persistent OSTree repo 7# Please redefine OSTREE_REPO in order to have a persistent OSTree repo
@@ -10,3 +10,18 @@ OSTREE_BRANCHNAME ?= "ota-${MACHINE}"
10OSTREE_OSNAME ?= "poky" 10OSTREE_OSNAME ?= "poky"
11OSTREE_INITRAMFS_IMAGE ?= "initramfs-ostree-image" 11OSTREE_INITRAMFS_IMAGE ?= "initramfs-ostree-image"
12 12
13# Platform-specific configuration
14IMAGE_CLASSES_append_raspberrypi2 = " image_types_uboot sdcard_image-rpi-ota"
15IMAGE_CLASSES_append_raspberrypi3 = " image_types_uboot sdcard_image-rpi-ota"
16IMAGE_FSTYPES += "${@'rpi-sdimg-ota' if d.getVar('MACHINE', True).startswith('raspberrypi') else ''}"
17IMAGE_FSTYPES_remove = "rpi-sdimg"
18
19KERNEL_IMAGETYPE_raspberrypi2 = "uImage"
20KERNEL_IMAGETYPE_raspberrypi3 = "uImage"
21
22UBOOT_MACHINE_raspberrypi2 = "rpi_2_defconfig"
23UBOOT_MACHINE_raspberrypi3 = "rpi_3_32b_defconfig"
24PREFERRED_PROVIDER_virtual/bootloader_raspberrypi2 = "u-boot"
25PREFERRED_PROVIDER_virtual/bootloader_raspberrypi3 = "u-boot"
26
27DISTROOVERRIDES_append = ":sota"