diff options
author | Anu Deepthika, Nandipati <Nandipati.AnuDeepthika@philips.com> | 2022-03-29 01:18:27 +0530 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-03-29 08:28:38 -0700 |
commit | 144a7fff1e32f682610e80aba4851dc97fc1b575 (patch) | |
tree | 68098399464955802219accafbcfbbde06c2bfaf /meta-oe/recipes-security/usbguard | |
parent | 65f6fe9eac6cef466e49067407612b73e18a858b (diff) | |
download | meta-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.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 | " |