diff options
Diffstat (limited to 'classes/image_types_ostree.bbclass')
-rw-r--r-- | classes/image_types_ostree.bbclass | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/classes/image_types_ostree.bbclass b/classes/image_types_ostree.bbclass index c2ea6fc..0acc786 100644 --- a/classes/image_types_ostree.bbclass +++ b/classes/image_types_ostree.bbclass | |||
@@ -18,6 +18,7 @@ OSTREE_KERNEL ??= "${KERNEL_IMAGETYPE}" | |||
18 | 18 | ||
19 | OSTREE_COMMIT_SUBJECT ??= "Commit-id: ${IMAGE_NAME}" | 19 | OSTREE_COMMIT_SUBJECT ??= "Commit-id: ${IMAGE_NAME}" |
20 | OSTREE_COMMIT_BODY ??= "" | 20 | OSTREE_COMMIT_BODY ??= "" |
21 | OSTREE_UPDATE_SUMMARY ??= "0" | ||
21 | 22 | ||
22 | export SYSTEMD_USED = "${@oe.utils.ifelse(d.getVar('VIRTUAL-RUNTIME_init_manager', True) == 'systemd', 'true', '')}" | 23 | export SYSTEMD_USED = "${@oe.utils.ifelse(d.getVar('VIRTUAL-RUNTIME_init_manager', True) == 'systemd', 'true', '')}" |
23 | 24 | ||
@@ -162,6 +163,10 @@ IMAGE_CMD_ostree () { | |||
162 | --subject="${OSTREE_COMMIT_SUBJECT}" \ | 163 | --subject="${OSTREE_COMMIT_SUBJECT}" \ |
163 | --body="${OSTREE_COMMIT_BODY}" | 164 | --body="${OSTREE_COMMIT_BODY}" |
164 | 165 | ||
166 | if [ "${OSTREE_UPDATE_SUMMARY}" = "1" ]; then | ||
167 | ostree --repo=${OSTREE_REPO} summary -u | ||
168 | fi | ||
169 | |||
165 | rm -rf ${OSTREE_ROOTFS} | 170 | rm -rf ${OSTREE_ROOTFS} |
166 | } | 171 | } |
167 | 172 | ||