summaryrefslogtreecommitdiffstats
path: root/classes/image_types_ostree.bbclass
diff options
context:
space:
mode:
authorPhil Wise <phil@advancedtelematic.com>2017-06-26 15:13:44 +0200
committerPhil Wise <phil@advancedtelematic.com>2017-06-26 15:17:32 +0200
commitdc234532add69842295902d35981dba886468da0 (patch)
tree9168d7c82698be2b66d951f2159986f4d627a06b /classes/image_types_ostree.bbclass
parent45c155a67d3532ad32342fc512e8bf6341ab9e5d (diff)
downloadmeta-updater-dc234532add69842295902d35981dba886468da0.tar.gz
Aktualizr updates, including sync()
Perform sync() after provisioning Store sota.toml in updatable /usr directory
Diffstat (limited to 'classes/image_types_ostree.bbclass')
-rw-r--r--classes/image_types_ostree.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/image_types_ostree.bbclass b/classes/image_types_ostree.bbclass
index 2a74e51..72d7df5 100644
--- a/classes/image_types_ostree.bbclass
+++ b/classes/image_types_ostree.bbclass
@@ -203,7 +203,7 @@ IMAGE_CMD_ostree () {
203IMAGE_TYPEDEP_ostreepush = "ostree" 203IMAGE_TYPEDEP_ostreepush = "ostree"
204IMAGE_DEPENDS_ostreepush = "sota-tools-native:do_populate_sysroot" 204IMAGE_DEPENDS_ostreepush = "sota-tools-native:do_populate_sysroot"
205IMAGE_CMD_ostreepush () { 205IMAGE_CMD_ostreepush () {
206 if [ ${OSTREE_PUSH_CREDENTIALS} ]; then 206 if [ -n "${OSTREE_PUSH_CREDENTIALS}" ]; then
207 garage-push --repo=${OSTREE_REPO} \ 207 garage-push --repo=${OSTREE_REPO} \
208 --ref=${OSTREE_BRANCHNAME} \ 208 --ref=${OSTREE_BRANCHNAME} \
209 --credentials=${OSTREE_PUSH_CREDENTIALS} \ 209 --credentials=${OSTREE_PUSH_CREDENTIALS} \