summaryrefslogtreecommitdiffstats
path: root/recipes-test/images/secondary-image.bb
blob: 7db2c684cf57ef2bae3ac3e719bf9ba6f3f3eaa1 (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
include recipes-core/images/core-image-minimal.bb

SUMMARY = "A minimal Uptane Secondary image running aktualizr-secondary"

LICENSE = "MPL-2.0"

SECONDARY_SERIAL_ID ?= ""
SOTA_HARDWARE_ID ?= "${MACHINE}-sndry"

# Remove default aktualizr primary, and the provisioning configuration (which
# RDEPENDS on aktualizr)
IMAGE_INSTALL_remove = " \
                        aktualizr \
                        aktualizr-shared-prov \
                        aktualizr-shared-prov-creds \
                        aktualizr-device-prov \
                        aktualizr-device-prov-hsm \
                        aktualizr-uboot-env-rollback \
                        virtual/network-configuration \
                        "

IMAGE_INSTALL_append = " \
                        aktualizr-secondary \
                        secondary-network-config \
                        secondary-config \
                        "

# vim:set ts=4 sw=4 sts=4 expandtab: