summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-security/usbguard
diff options
context:
space:
mode:
authorAnu Deepthika, Nandipati <Nandipati.AnuDeepthika@philips.com>2022-03-29 01:18:27 +0530
committerKhem Raj <raj.khem@gmail.com>2022-03-29 08:28:38 -0700
commit144a7fff1e32f682610e80aba4851dc97fc1b575 (patch)
tree68098399464955802219accafbcfbbde06c2bfaf /meta-oe/recipes-security/usbguard
parent65f6fe9eac6cef466e49067407612b73e18a858b (diff)
downloadmeta-openembedded-144a7fff1e32f682610e80aba4851dc97fc1b575.tar.gz
usbguard: package simplification
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-security/usbguard')
-rw-r--r--meta-oe/recipes-security/usbguard/usbguard_1.1.1.bb9
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
45SYSTEMD_PACKAGES = "${PN}" 45SYSTEMD_PACKAGES = "${PN}"
46 46
47SYSTEMD_SERVICE:${PN} = "usbguard.service" 47SYSTEMD_SERVICE:${PN} = "usbguard.service ${@bb.utils.contains('PACKAGECONFIG', 'dbus', 'usbguard-dbus.service', '', d)}"
48
49SYSTEMD_PACKAGES += "${@bb.utils.contains('PACKAGECONFIG', 'dbus', '${PN}-dbus', '', d)}"
50
51SYSTEMD_SERVICE:${PN}-dbus = "usbguard-dbus.service"
52
53PACKAGES =+ "${PN}-dbus"
54 48
55FILES:${PN} += "\ 49FILES:${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"