diff options
Diffstat (limited to 'meta-oe/recipes-security/usbguard/usbguard_1.1.1.bb')
-rw-r--r-- | meta-oe/recipes-security/usbguard/usbguard_1.1.1.bb | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/meta-oe/recipes-security/usbguard/usbguard_1.1.1.bb b/meta-oe/recipes-security/usbguard/usbguard_1.1.1.bb index 4ecaa4e6b..8df78ec81 100644 --- a/meta-oe/recipes-security/usbguard/usbguard_1.1.1.bb +++ b/meta-oe/recipes-security/usbguard/usbguard_1.1.1.bb | |||
@@ -44,19 +44,12 @@ PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd,systemd" | |||
44 | 44 | ||
45 | SYSTEMD_PACKAGES = "${PN}" | 45 | SYSTEMD_PACKAGES = "${PN}" |
46 | 46 | ||
47 | SYSTEMD_SERVICE:${PN} = "usbguard.service" | 47 | SYSTEMD_SERVICE:${PN} = "usbguard.service ${@bb.utils.contains('PACKAGECONFIG', 'dbus', 'usbguard-dbus.service', '', d)}" |
48 | |||
49 | SYSTEMD_PACKAGES += "${@bb.utils.contains('PACKAGECONFIG', 'dbus', '${PN}-dbus', '', d)}" | ||
50 | |||
51 | SYSTEMD_SERVICE:${PN}-dbus = "usbguard-dbus.service" | ||
52 | |||
53 | PACKAGES =+ "${PN}-dbus" | ||
54 | 48 | ||
55 | FILES:${PN} += "\ | 49 | FILES:${PN} += "\ |
56 | ${systemd_unitdir}/system/usbguard.service \ | 50 | ${systemd_unitdir}/system/usbguard.service \ |
57 | ${systemd_unitdir}/system/usbguard-dbus.service \ | 51 | ${systemd_unitdir}/system/usbguard-dbus.service \ |
58 | ${datadir}/polkit-1 \ | 52 | ${datadir}/polkit-1 \ |
59 | ${datadir}/polkit-1/actions \ | ||
60 | ${datadir}/dbus-1 \ | 53 | ${datadir}/dbus-1 \ |
61 | ${nonarch_libdir}/tmpfiles.d \ | 54 | ${nonarch_libdir}/tmpfiles.d \ |
62 | " | 55 | " |