summaryrefslogtreecommitdiffstats
path: root/classes/image_types_ostree.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'classes/image_types_ostree.bbclass')
-rw-r--r--classes/image_types_ostree.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/image_types_ostree.bbclass b/classes/image_types_ostree.bbclass
index 3300a3d..edddf37 100644
--- a/classes/image_types_ostree.bbclass
+++ b/classes/image_types_ostree.bbclass
@@ -16,11 +16,11 @@ OSTREE_UPDATE_SUMMARY ??= "0"
16SYSTEMD_USED = "${@oe.utils.ifelse(d.getVar('VIRTUAL-RUNTIME_init_manager', True) == 'systemd', 'true', '')}" 16SYSTEMD_USED = "${@oe.utils.ifelse(d.getVar('VIRTUAL-RUNTIME_init_manager', True) == 'systemd', 'true', '')}"
17 17
18IMAGE_CMD_ostree () { 18IMAGE_CMD_ostree () {
19 if [ -z "$OSTREE_REPO" ]; then 19 if [ -z "${OSTREE_REPO}" ]; then
20 bbfatal "OSTREE_REPO should be set in your local.conf" 20 bbfatal "OSTREE_REPO should be set in your local.conf"
21 fi 21 fi
22 22
23 if [ -z "$OSTREE_BRANCHNAME" ]; then 23 if [ -z "${OSTREE_BRANCHNAME}" ]; then
24 bbfatal "OSTREE_BRANCHNAME should be set in your local.conf" 24 bbfatal "OSTREE_BRANCHNAME should be set in your local.conf"
25 fi 25 fi
26 26