summaryrefslogtreecommitdiffstats
path: root/recipes-test/images/primary-image.bb
blob: 21ff5658670fa5d737f2c769969461b5e35f9dd2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
include recipes-core/images/core-image-minimal.bb

#export SOTA_PRIMARY_HARDWARE_ID
#export SOTA_HARDWARE_ID

SUMMARY = "A minimal Uptane Primary image running aktualizr, for testing with a Linux secondary"

LICENSE = "MIT"

python () {
    if d.getVar("SOTA_PRIMARY_HARDWARE_ID", True):
        d.setVar("SOTA_HARDWARE_ID", d.getVar("SOTA_PRIMARY_HARDWARE_ID", True))
}

IMAGE_INSTALL_remove = " \
                        "

IMAGE_INSTALL_append = " \
                        primary-network-config \
                       "

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