From dc234532add69842295902d35981dba886468da0 Mon Sep 17 00:00:00 2001 From: Phil Wise Date: Mon, 26 Jun 2017 15:13:44 +0200 Subject: Aktualizr updates, including sync() Perform sync() after provisioning Store sota.toml in updatable /usr directory --- classes/image_types_ostree.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'classes') 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 () { IMAGE_TYPEDEP_ostreepush = "ostree" IMAGE_DEPENDS_ostreepush = "sota-tools-native:do_populate_sysroot" IMAGE_CMD_ostreepush () { - if [ ${OSTREE_PUSH_CREDENTIALS} ]; then + if [ -n "${OSTREE_PUSH_CREDENTIALS}" ]; then garage-push --repo=${OSTREE_REPO} \ --ref=${OSTREE_BRANCHNAME} \ --credentials=${OSTREE_PUSH_CREDENTIALS} \ -- cgit v1.2.3-54-g00ecf