summaryrefslogtreecommitdiffstats
path: root/classes
diff options
context:
space:
mode:
Diffstat (limited to 'classes')
-rw-r--r--classes/image_types_ostree.bbclass2
-rw-r--r--classes/image_types_ota.bbclass4
-rw-r--r--classes/sota.bbclass10
3 files changed, 8 insertions, 8 deletions
diff --git a/classes/image_types_ostree.bbclass b/classes/image_types_ostree.bbclass
index 5d55cdb..832f945 100644
--- a/classes/image_types_ostree.bbclass
+++ b/classes/image_types_ostree.bbclass
@@ -17,7 +17,7 @@ IMAGE_CMD_TAR = "tar --xattrs --xattrs-include=*"
17CONVERSION_CMD_tar = "touch ${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.${type}; ${IMAGE_CMD_TAR} --numeric-owner -cf ${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.${type}.tar -C ${TAR_IMAGE_ROOTFS} . || [ $? -eq 1 ]" 17CONVERSION_CMD_tar = "touch ${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.${type}; ${IMAGE_CMD_TAR} --numeric-owner -cf ${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.${type}.tar -C ${TAR_IMAGE_ROOTFS} . || [ $? -eq 1 ]"
18CONVERSIONTYPES:append = " tar" 18CONVERSIONTYPES:append = " tar"
19 19
20TAR_IMAGE_ROOTFS_task-image-ostree = "${OSTREE_ROOTFS}" 20TAR_IMAGE_ROOTFS:task-image-ostree = "${OSTREE_ROOTFS}"
21 21
22do_image_ostree[dirs] = "${OSTREE_ROOTFS}" 22do_image_ostree[dirs] = "${OSTREE_ROOTFS}"
23do_image_ostree[cleandirs] = "${OSTREE_ROOTFS}" 23do_image_ostree[cleandirs] = "${OSTREE_ROOTFS}"
diff --git a/classes/image_types_ota.bbclass b/classes/image_types_ota.bbclass
index 0bb31de..41c4801 100644
--- a/classes/image_types_ota.bbclass
+++ b/classes/image_types_ota.bbclass
@@ -1,5 +1,5 @@
1OTA_SYSROOT = "${WORKDIR}/ota-sysroot" 1OTA_SYSROOT = "${WORKDIR}/ota-sysroot"
2TAR_IMAGE_ROOTFS_task-image-ota = "${OTA_SYSROOT}" 2TAR_IMAGE_ROOTFS:task-image-ota = "${OTA_SYSROOT}"
3IMAGE_TYPEDEP_ota = "ostreecommit" 3IMAGE_TYPEDEP_ota = "ostreecommit"
4do_image_ota[dirs] = "${OTA_SYSROOT}" 4do_image_ota[dirs] = "${OTA_SYSROOT}"
5do_image_ota[cleandirs] = "${OTA_SYSROOT}" 5do_image_ota[cleandirs] = "${OTA_SYSROOT}"
@@ -79,7 +79,7 @@ IMAGE_CMD:ota () {
79 79
80EXTRA_IMAGECMD:ota-ext4 = "-L otaroot -i 4096 -t ext4" 80EXTRA_IMAGECMD:ota-ext4 = "-L otaroot -i 4096 -t ext4"
81IMAGE_TYPEDEP_ota-ext4 = "ota" 81IMAGE_TYPEDEP_ota-ext4 = "ota"
82IMAGE_ROOTFS_task-image-ota-ext4 = "${OTA_SYSROOT}" 82IMAGE_ROOTFS:task-image-ota-ext4 = "${OTA_SYSROOT}"
83IMAGE_CMD:ota-ext4 () { 83IMAGE_CMD:ota-ext4 () {
84 ln -sf ${STAGING_DIR_NATIVE}${base_sbindir_native}/mkfs.ext4 ${STAGING_DIR_NATIVE}${base_sbindir_native}/mkfs.ota-ext4 84 ln -sf ${STAGING_DIR_NATIVE}${base_sbindir_native}/mkfs.ext4 ${STAGING_DIR_NATIVE}${base_sbindir_native}/mkfs.ota-ext4
85 ln -sf ${STAGING_DIR_NATIVE}${base_sbindir_native}/fsck.ext4 ${STAGING_DIR_NATIVE}${base_sbindir_native}/fsck.ota-ext4 85 ln -sf ${STAGING_DIR_NATIVE}${base_sbindir_native}/fsck.ext4 ${STAGING_DIR_NATIVE}${base_sbindir_native}/fsck.ota-ext4
diff --git a/classes/sota.bbclass b/classes/sota.bbclass
index 32efe5c..9eccdcd 100644
--- a/classes/sota.bbclass
+++ b/classes/sota.bbclass
@@ -47,12 +47,12 @@ GARAGE_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
57SOTA_OVERRIDES_BLACKLIST = "ostree ota" 57SOTA_OVERRIDES_BLACKLIST = "ostree ota"
58SOTA_REQUIRED_VARIABLES = "OSTREE_REPO OSTREE_BRANCHNAME OSTREE_OSNAME OSTREE_BOOTLOADER OSTREE_BOOT_PARTITION GARAGE_SIGN_REPO GARAGE_TARGET_NAME" 58SOTA_REQUIRED_VARIABLES = "OSTREE_REPO OSTREE_BRANCHNAME OSTREE_OSNAME OSTREE_BOOTLOADER OSTREE_BOOT_PARTITION GARAGE_SIGN_REPO GARAGE_TARGET_NAME"