summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 9e3bc6f..777360f 100644
--- a/classes/image_types_ostree.bbclass
+++ b/classes/image_types_ostree.bbclass
@@ -16,7 +16,7 @@ RAMDISK_EXT_arm ?= ".ext4.gz.u-boot"
16 16
17OSTREE_KERNEL ??= "${KERNEL_IMAGETYPE}" 17OSTREE_KERNEL ??= "${KERNEL_IMAGETYPE}"
18 18
19export SYSTEMD_USED = "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', '', d)}" 19export SYSTEMD_USED = "${@oe.utils.ifelse(d.getVar('VIRTUAL-RUNTIME_init_manager', True) == 'systemd', 'true', '')}"
20 20
21IMAGE_CMD_ostree () { 21IMAGE_CMD_ostree () {
22 if [ -z "$OSTREE_REPO" ]; then 22 if [ -z "$OSTREE_REPO" ]; then