diff options
Diffstat (limited to 'classes')
-rw-r--r-- | classes/image_types_ostree.bbclass | 2 |
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 () { | |||
203 | IMAGE_TYPEDEP_ostreepush = "ostree" | 203 | IMAGE_TYPEDEP_ostreepush = "ostree" |
204 | IMAGE_DEPENDS_ostreepush = "sota-tools-native:do_populate_sysroot" | 204 | IMAGE_DEPENDS_ostreepush = "sota-tools-native:do_populate_sysroot" |
205 | IMAGE_CMD_ostreepush () { | 205 | IMAGE_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} \ |