summaryrefslogtreecommitdiffstats
path: root/classes/sota.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'classes/sota.bbclass')
-rw-r--r--classes/sota.bbclass14
1 files changed, 7 insertions, 7 deletions
diff --git a/classes/sota.bbclass b/classes/sota.bbclass
index a331fa4..32efe5c 100644
--- a/classes/sota.bbclass
+++ b/classes/sota.bbclass
@@ -5,7 +5,7 @@ SOTA_DEPLOY_CREDENTIALS ?= "1"
5SOTA_HARDWARE_ID ??= "${MACHINE}" 5SOTA_HARDWARE_ID ??= "${MACHINE}"
6 6
7IMAGE_CLASSES += " image_types_ostree image_types_ota image_repo_manifest" 7IMAGE_CLASSES += " image_types_ostree image_types_ota image_repo_manifest"
8IMAGE_INSTALL_append_sota = " aktualizr aktualizr-info ${SOTA_CLIENT_PROV} \ 8IMAGE_INSTALL:append:sota = " aktualizr aktualizr-info ${SOTA_CLIENT_PROV} \
9 ostree os-release ostree-kernel ostree-initramfs \ 9 ostree os-release ostree-kernel ostree-initramfs \
10 ${@'ostree-devicetrees' if oe.types.boolean('${OSTREE_DEPLOY_DEVICETREE}') else ''}" 10 ${@'ostree-devicetrees' if oe.types.boolean('${OSTREE_DEPLOY_DEVICETREE}') else ''}"
11 11
@@ -13,12 +13,12 @@ IMAGE_FSTYPES += "${@bb.utils.contains('DISTRO_FEATURES', 'sota', 'ostreepush ga
13IMAGE_FSTYPES += "${@bb.utils.contains('BUILD_OSTREE_TARBALL', '1', 'ostree.tar.bz2', ' ', d)}" 13IMAGE_FSTYPES += "${@bb.utils.contains('BUILD_OSTREE_TARBALL', '1', 'ostree.tar.bz2', ' ', d)}"
14IMAGE_FSTYPES += "${@bb.utils.contains('BUILD_OTA_TARBALL', '1', 'ota.tar.xz', ' ', d)}" 14IMAGE_FSTYPES += "${@bb.utils.contains('BUILD_OTA_TARBALL', '1', 'ota.tar.xz', ' ', d)}"
15 15
16PACKAGECONFIG_append_pn-curl = " ssl" 16PACKAGECONFIG:append:pn-curl = " ssl"
17PACKAGECONFIG_remove_pn-curl = "gnutls" 17PACKAGECONFIG:remove:pn-curl = "gnutls"
18 18
19WKS_FILE_sota ?= "sdimage-sota.wks" 19WKS_FILE:sota ?= "sdimage-sota.wks"
20 20
21EXTRA_IMAGEDEPENDS_append_sota = " parted-native mtools-native dosfstools-native" 21EXTRA_IMAGEDEPENDS:append:sota = " parted-native mtools-native dosfstools-native"
22 22
23INITRAMFS_FSTYPES ?= "${@oe.utils.ifelse(d.getVar('OSTREE_BOOTLOADER') == 'u-boot', 'cpio.gz.u-boot', 'cpio.gz')}" 23INITRAMFS_FSTYPES ?= "${@oe.utils.ifelse(d.getVar('OSTREE_BOOTLOADER') == 'u-boot', 'cpio.gz.u-boot', 'cpio.gz')}"
24 24
@@ -46,11 +46,11 @@ GARAGE_TARGET_EXPIRE_AFTER ?= ""
46GARAGE_CUSTOMIZE_TARGET ?= "" 46GARAGE_CUSTOMIZE_TARGET ?= ""
47 47
48SOTA_MACHINE ??="none" 48SOTA_MACHINE ??="none"
49SOTA_MACHINE_rpi ?= "raspberrypi" 49SOTA_MACHINE:rpi ?= "raspberrypi"
50SOTA_MACHINE_porter ?= "porter" 50SOTA_MACHINE_porter ?= "porter"
51SOTA_MACHINE_m3ulcb = "m3ulcb" 51SOTA_MACHINE_m3ulcb = "m3ulcb"
52SOTA_MACHINE_intel-corei7-64 ?= "minnowboard" 52SOTA_MACHINE_intel-corei7-64 ?= "minnowboard"
53SOTA_MACHINE_qemux86-64 ?= "qemux86-64" 53SOTA_MACHINE:qemux86-64 ?= "qemux86-64"
54SOTA_MACHINE_am335x-evm ?= "am335x-evm-wifi" 54SOTA_MACHINE_am335x-evm ?= "am335x-evm-wifi"
55SOTA_MACHINE_freedom-u540 ?= "freedom-u540" 55SOTA_MACHINE_freedom-u540 ?= "freedom-u540"
56 56