blob: 5520154e31b2cbb8ac271c6dcc8389cd0c801c29 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
IMAGE_INSTALL_append = " ostree rvi-sota-client sota-credentials"
# live image for OSTree-enabled systems
IMAGE_CLASSES_append = " image_types_ostree image_types_ota"
IMAGE_FSTYPES += "ostreepush otaimg"
# Please redefine OSTREE_REPO in order to have a persistent OSTree repo
OSTREE_REPO ?= "${DEPLOY_DIR_IMAGE}/ostree_repo"
OSTREE_BRANCHNAME ?= "ota-${MACHINE}"
OSTREE_OSNAME ?= "poky"
OSTREE_INITRAMFS_IMAGE ?= "initramfs-ostree-image"
# Platform-specific configuration
IMAGE_CLASSES_append_raspberrypi2 = " image_types_uboot sdcard_image-rpi-ota"
IMAGE_CLASSES_append_raspberrypi3 = " image_types_uboot sdcard_image-rpi-ota"
IMAGE_FSTYPES += "${@'rpi-sdimg-ota' if d.getVar('MACHINE', True).startswith('raspberrypi') else ''}"
IMAGE_FSTYPES_remove = "rpi-sdimg"
KERNEL_IMAGETYPE_raspberrypi2 = "uImage"
KERNEL_IMAGETYPE_raspberrypi3 = "uImage"
UBOOT_MACHINE_raspberrypi2 = "rpi_2_defconfig"
UBOOT_MACHINE_raspberrypi3 = "rpi_3_32b_defconfig"
PREFERRED_PROVIDER_virtual/bootloader_raspberrypi2 = "u-boot"
PREFERRED_PROVIDER_virtual/bootloader_raspberrypi3 = "u-boot"
# Some BSPs (e.g. meta-raspberrypi) use this variable to turn debug on/off
DISTRO_TYPE ?= "${@bb.utils.contains("IMAGE_FEATURES", "debug-tweaks", "debug", "release",d)}"
DISTRO_FEATURES_append = " systemd"
PREFERRED_PROVIDER_udev ?= "systemd"
PREFERRED_PROVIDER_udev-utils ?= "systemd"
VIRTUAL-RUNTIME_init_manager = "systemd"
DISTROOVERRIDES_append = ":sota"
|