diff options
Diffstat (limited to 'meta/recipes-core/seatd/seatd_0.6.3.bb')
-rw-r--r-- | meta/recipes-core/seatd/seatd_0.6.3.bb | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/meta/recipes-core/seatd/seatd_0.6.3.bb b/meta/recipes-core/seatd/seatd_0.6.3.bb index 0e1a79dddf..abc8583087 100644 --- a/meta/recipes-core/seatd/seatd_0.6.3.bb +++ b/meta/recipes-core/seatd/seatd_0.6.3.bb | |||
@@ -13,9 +13,13 @@ S = "${WORKDIR}/git" | |||
13 | 13 | ||
14 | inherit meson pkgconfig update-rc.d | 14 | inherit meson pkgconfig update-rc.d |
15 | 15 | ||
16 | PACKAGECONFIG ?= "libseat-builtin" | 16 | PACKAGECONFIG ?= " \ |
17 | ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \ | ||
18 | libseat-builtin \ | ||
19 | " | ||
17 | 20 | ||
18 | PACKAGECONFIG[libseat-builtin] = "-Dlibseat-builtin=enabled,-Dlibseat-builtin=disabled" | 21 | PACKAGECONFIG[libseat-builtin] = "-Dlibseat-builtin=enabled,-Dlibseat-builtin=disabled" |
22 | PACKAGECONFIG[systemd] = ",,systemd" | ||
19 | 23 | ||
20 | do_install:append() { | 24 | do_install:append() { |
21 | if [ "${VIRTUAL-RUNTIME_init_manager}" != "systemd" ]; then | 25 | if [ "${VIRTUAL-RUNTIME_init_manager}" != "systemd" ]; then |
@@ -26,4 +30,3 @@ do_install:append() { | |||
26 | INITSCRIPT_NAME = "seatd" | 30 | INITSCRIPT_NAME = "seatd" |
27 | INITSCRIPT_PARAMS = "start 9 5 2 . stop 20 0 1 6 ." | 31 | INITSCRIPT_PARAMS = "start 9 5 2 . stop 20 0 1 6 ." |
28 | INHIBIT_UPDATERCD_BBCLASS = "${@oe.utils.conditional('VIRTUAL-RUNTIME_init_manager', 'systemd', '1', '', d)}" | 32 | INHIBIT_UPDATERCD_BBCLASS = "${@oe.utils.conditional('VIRTUAL-RUNTIME_init_manager', 'systemd', '1', '', d)}" |
29 | |||