diff options
-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 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 | ||
17 | OSTREE_KERNEL ??= "${KERNEL_IMAGETYPE}" | 17 | OSTREE_KERNEL ??= "${KERNEL_IMAGETYPE}" |
18 | 18 | ||
19 | export SYSTEMD_USED = "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', '', d)}" | 19 | export SYSTEMD_USED = "${@oe.utils.ifelse(d.getVar('VIRTUAL-RUNTIME_init_manager', True) == 'systemd', 'true', '')}" |
20 | 20 | ||
21 | IMAGE_CMD_ostree () { | 21 | IMAGE_CMD_ostree () { |
22 | if [ -z "$OSTREE_REPO" ]; then | 22 | if [ -z "$OSTREE_REPO" ]; then |