diff options
author | Anton Gerasimov <anton@advancedtelematic.com> | 2016-11-22 19:00:23 +0100 |
---|---|---|
committer | Anton Gerasimov <anton@advancedtelematic.com> | 2016-11-24 11:39:08 +0100 |
commit | f69072933891a0e192a9f9fb65611251596a5916 (patch) | |
tree | da1f454b6872a5cc6cb73c4c5859f4d3018cf618 /conf/distro/sota.conf.inc | |
parent | a3d37334b9911fcea5a824c2f2f56b3cdbd57efd (diff) | |
download | meta-updater-f69072933891a0e192a9f9fb65611251596a5916.tar.gz |
Rasperrypi-specific configuration
Diffstat (limited to 'conf/distro/sota.conf.inc')
-rw-r--r-- | conf/distro/sota.conf.inc | 19 |
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 @@ | |||
1 | IMAGE_INSTALL_append_sota = " rvi-sota-client" | 1 | IMAGE_INSTALL_append = " rvi-sota-client" |
2 | 2 | ||
3 | # live image for OSTree-enabled systems | 3 | # live image for OSTree-enabled systems |
4 | IMAGE_CLASSES_append_sota = "image_types_ostree image_types_ota" | 4 | IMAGE_CLASSES_append = " image_types_ostree image_types_ota" |
5 | IMAGE_FSTYPES += "ostreepush otaimg" | 5 | IMAGE_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}" | |||
10 | OSTREE_OSNAME ?= "poky" | 10 | OSTREE_OSNAME ?= "poky" |
11 | OSTREE_INITRAMFS_IMAGE ?= "initramfs-ostree-image" | 11 | OSTREE_INITRAMFS_IMAGE ?= "initramfs-ostree-image" |
12 | 12 | ||
13 | # Platform-specific configuration | ||
14 | IMAGE_CLASSES_append_raspberrypi2 = " image_types_uboot sdcard_image-rpi-ota" | ||
15 | IMAGE_CLASSES_append_raspberrypi3 = " image_types_uboot sdcard_image-rpi-ota" | ||
16 | IMAGE_FSTYPES += "${@'rpi-sdimg-ota' if d.getVar('MACHINE', True).startswith('raspberrypi') else ''}" | ||
17 | IMAGE_FSTYPES_remove = "rpi-sdimg" | ||
18 | |||
19 | KERNEL_IMAGETYPE_raspberrypi2 = "uImage" | ||
20 | KERNEL_IMAGETYPE_raspberrypi3 = "uImage" | ||
21 | |||
22 | UBOOT_MACHINE_raspberrypi2 = "rpi_2_defconfig" | ||
23 | UBOOT_MACHINE_raspberrypi3 = "rpi_3_32b_defconfig" | ||
24 | PREFERRED_PROVIDER_virtual/bootloader_raspberrypi2 = "u-boot" | ||
25 | PREFERRED_PROVIDER_virtual/bootloader_raspberrypi3 = "u-boot" | ||
26 | |||
27 | DISTROOVERRIDES_append = ":sota" | ||