diff options
-rw-r--r-- | classes/image_types_ostree.bbclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/classes/image_types_ostree.bbclass b/classes/image_types_ostree.bbclass index 0f0fd28..7e4a367 100644 --- a/classes/image_types_ostree.bbclass +++ b/classes/image_types_ostree.bbclass | |||
@@ -5,6 +5,7 @@ OSTREE_KERNEL ??= "${KERNEL_IMAGETYPE}" | |||
5 | OSTREE_ROOTFS ??= "${WORKDIR}/ostree-rootfs" | 5 | OSTREE_ROOTFS ??= "${WORKDIR}/ostree-rootfs" |
6 | OSTREE_COMMIT_SUBJECT ??= "Commit-id: ${IMAGE_NAME}" | 6 | OSTREE_COMMIT_SUBJECT ??= "Commit-id: ${IMAGE_NAME}" |
7 | OSTREE_COMMIT_BODY ??= "" | 7 | OSTREE_COMMIT_BODY ??= "" |
8 | OSTREE_COMMIT_VERSION ??= "${DISTRO_VERSION}" | ||
8 | OSTREE_UPDATE_SUMMARY ??= "0" | 9 | OSTREE_UPDATE_SUMMARY ??= "0" |
9 | OSTREE_DEPLOY_DEVICETREE ??= "0" | 10 | OSTREE_DEPLOY_DEVICETREE ??= "0" |
10 | 11 | ||
@@ -169,6 +170,7 @@ IMAGE_CMD_ostreecommit () { | |||
169 | --branch=${OSTREE_BRANCHNAME} \ | 170 | --branch=${OSTREE_BRANCHNAME} \ |
170 | --subject="${OSTREE_COMMIT_SUBJECT}" \ | 171 | --subject="${OSTREE_COMMIT_SUBJECT}" \ |
171 | --body="${OSTREE_COMMIT_BODY}" \ | 172 | --body="${OSTREE_COMMIT_BODY}" \ |
173 | --add-metadata-string=version="${OSTREE_COMMIT_VERSION}" \ | ||
172 | --bind-ref="${OSTREE_BRANCHNAME}-${IMAGE_BASENAME}" | 174 | --bind-ref="${OSTREE_BRANCHNAME}-${IMAGE_BASENAME}" |
173 | 175 | ||
174 | if [ "${OSTREE_UPDATE_SUMMARY}" = "1" ]; then | 176 | if [ "${OSTREE_UPDATE_SUMMARY}" = "1" ]; then |