[meta-oe] usbguard: package simplification

Message ID 20220328194827.317689-1-anudeepthika@code1.emi.philips.com
State Under Review
Headers show
Series [meta-oe] usbguard: package simplification | expand

Commit Message

Anu Deepthika March 28, 2022, 7:48 p.m. UTC
From: "Anu Deepthika, Nandipati" <Nandipati.AnuDeepthika@philips.com>

---
 meta-oe/recipes-security/usbguard/usbguard_1.1.1.bb | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

Patch

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"
 
 SYSTEMD_PACKAGES = "${PN}"
 
-SYSTEMD_SERVICE:${PN} = "usbguard.service"
-
-SYSTEMD_PACKAGES += "${@bb.utils.contains('PACKAGECONFIG', 'dbus', '${PN}-dbus', '', d)}"
-
-SYSTEMD_SERVICE:${PN}-dbus = "usbguard-dbus.service"
-
-PACKAGES =+ "${PN}-dbus"
+SYSTEMD_SERVICE:${PN} = "usbguard.service ${@bb.utils.contains('PACKAGECONFIG', 'dbus', 'usbguard-dbus.service', '', d)}"
 
 FILES:${PN} += "\
     ${systemd_unitdir}/system/usbguard.service \
     ${systemd_unitdir}/system/usbguard-dbus.service \
     ${datadir}/polkit-1 \
-    ${datadir}/polkit-1/actions \
     ${datadir}/dbus-1 \
     ${nonarch_libdir}/tmpfiles.d \
 "