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

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

LICENSE = "MIT"

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-auto-prov \
                        aktualizr-auto-prov-creds \
                        aktualizr-ca-implicit-prov \
                        aktualizr-ca-implicit-prov-creds \
                        aktualizr-hsm-prov \
                        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: