diff options
author | Anton Gerasimov <anton@advancedtelematic.com> | 2016-11-21 16:41:03 +0100 |
---|---|---|
committer | Anton Gerasimov <anton@advancedtelematic.com> | 2016-11-22 15:04:30 +0100 |
commit | 5c2171ae14a6dc56d6e2d13b9d1fb7f4690c4e9d (patch) | |
tree | 7c910c01252effae0e62b16a13383729807d8208 /classes | |
parent | 5d256428b1683ed3952d5aa554f96eb2f5c851ae (diff) | |
download | meta-updater-5c2171ae14a6dc56d6e2d13b9d1fb7f4690c4e9d.tar.gz |
Bump versions of meta-sota utilities
Change-Id: I36a4d3d24826ab8776bc980b50aef8606af9e7a8
Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
Diffstat (limited to 'classes')
-rw-r--r-- | classes/image_types_ostree.bbclass | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/classes/image_types_ostree.bbclass b/classes/image_types_ostree.bbclass index 453692e..32ea98f 100644 --- a/classes/image_types_ostree.bbclass +++ b/classes/image_types_ostree.bbclass | |||
@@ -127,19 +127,9 @@ IMAGE_CMD_ostree () { | |||
127 | IMAGE_TYPEDEP_ostreepush = "ostree" | 127 | IMAGE_TYPEDEP_ostreepush = "ostree" |
128 | IMAGE_DEPENDS_ostreepush = "sota-tools-native:do_populate_sysroot" | 128 | IMAGE_DEPENDS_ostreepush = "sota-tools-native:do_populate_sysroot" |
129 | IMAGE_CMD_ostreepush () { | 129 | IMAGE_CMD_ostreepush () { |
130 | if [ ${OSTREE_REMOTE_URL} ]; then | 130 | if [ ${OSTREE_PUSH_CREDENTIALS} ]; then |
131 | if [ -z ${OSTREE_REMOTE_USER} ]; then | ||
132 | bberror "OSTREE_REMOTE_PASSWORD isn't set" | ||
133 | fi | ||
134 | |||
135 | if [ -z ${OSTREE_REMOTE_PASSWORD} ]; then | ||
136 | bberror "OSTREE_REMOTE_PASSWORD isn't set" | ||
137 | fi | ||
138 | |||
139 | garage-push --repo=${OSTREE_REPO} \ | 131 | garage-push --repo=${OSTREE_REPO} \ |
140 | --ref=${OSTREE_BRANCHNAME} \ | 132 | --ref=${OSTREE_BRANCHNAME} \ |
141 | --url=${OSTREE_REMOTE_URL} \ | 133 | --credentials=${OSTREE_PUSH_CREDENTIALS} |
142 | --user=${OSTREE_REMOTE_USER} \ | ||
143 | --password=${OSTREE_REMOTE_PASSWORD} | ||
144 | fi | 134 | fi |
145 | } | 135 | } |