summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatti Vacek <pattivacek@gmail.com>2021-02-05 09:08:28 +0100
committerGitHub <noreply@github.com>2021-02-05 09:08:28 +0100
commit4617a60cf6042f71221f069763bb584c946a198c (patch)
tree831a9161a229435cf8d3e1a3be31c6b45dc7a13c
parentb1bb00f4b645e7ab5cf6af4a6579df8b0f24e079 (diff)
parent0b2db6c1527b7b8114dbc97369e082338645623a (diff)
downloadmeta-updater-4617a60cf6042f71221f069763bb584c946a198c.tar.gz
Merge pull request #800 from liuming50/cherry-pick-some-patches-to-dunfell
Cherry pick some patches to dunfell
-rw-r--r--classes/image_types_ostree.bbclass1
-rw-r--r--classes/image_types_ota.bbclass2
2 files changed, 2 insertions, 1 deletions
diff --git a/classes/image_types_ostree.bbclass b/classes/image_types_ostree.bbclass
index e66956a..4d9b0a9 100644
--- a/classes/image_types_ostree.bbclass
+++ b/classes/image_types_ostree.bbclass
@@ -163,6 +163,7 @@ IMAGE_CMD_ostreecommit () {
163 163
164IMAGE_TYPEDEP_ostreepush = "ostreecommit" 164IMAGE_TYPEDEP_ostreepush = "ostreecommit"
165do_image_ostreepush[depends] += "aktualizr-native:do_populate_sysroot ca-certificates-native:do_populate_sysroot" 165do_image_ostreepush[depends] += "aktualizr-native:do_populate_sysroot ca-certificates-native:do_populate_sysroot"
166do_image_ostreepush[lockfiles] += "${OSTREE_REPO}/ostree.lock"
166IMAGE_CMD_ostreepush () { 167IMAGE_CMD_ostreepush () {
167 # send a copy of the repo manifest to backend if available 168 # send a copy of the repo manifest to backend if available
168 local SEND_MANIFEST="" 169 local SEND_MANIFEST=""
diff --git a/classes/image_types_ota.bbclass b/classes/image_types_ota.bbclass
index 1b7dbf8..283b50e 100644
--- a/classes/image_types_ota.bbclass
+++ b/classes/image_types_ota.bbclass
@@ -69,7 +69,7 @@ IMAGE_CMD_ota () {
69 echo "{\"${ostree_target_hash}\":\"${GARAGE_TARGET_NAME}-${target_version}\"}" > ${OTA_SYSROOT}/ostree/deploy/${OSTREE_OSNAME}/var/sota/import/installed_versions 69 echo "{\"${ostree_target_hash}\":\"${GARAGE_TARGET_NAME}-${target_version}\"}" > ${OTA_SYSROOT}/ostree/deploy/${OSTREE_OSNAME}/var/sota/import/installed_versions
70} 70}
71 71
72EXTRA_IMAGECMD_ota-ext4 = "-O ^64bit,^metadata_csum -L otaroot -i 4096 -t ext4" 72EXTRA_IMAGECMD_ota-ext4 = "-L otaroot -i 4096 -t ext4"
73IMAGE_TYPEDEP_ota-ext4 = "ota" 73IMAGE_TYPEDEP_ota-ext4 = "ota"
74IMAGE_ROOTFS_task-image-ota-ext4 = "${OTA_SYSROOT}" 74IMAGE_ROOTFS_task-image-ota-ext4 = "${OTA_SYSROOT}"
75IMAGE_CMD_ota-ext4 () { 75IMAGE_CMD_ota-ext4 () {