summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorAnton Gerasimov <anton@advancedtelematic.com>2016-11-22 19:00:23 +0100
committerAnton Gerasimov <anton@advancedtelematic.com>2016-11-24 11:39:08 +0100
commitf69072933891a0e192a9f9fb65611251596a5916 (patch)
treeda1f454b6872a5cc6cb73c4c5859f4d3018cf618 /conf
parenta3d37334b9911fcea5a824c2f2f56b3cdbd57efd (diff)
downloadmeta-updater-f69072933891a0e192a9f9fb65611251596a5916.tar.gz
Rasperrypi-specific configuration
Diffstat (limited to 'conf')
-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"