diff options
author | Andreas Müller <schnitzeltony@gmail.com> | 2021-06-03 23:05:28 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2021-06-03 16:58:41 -0700 |
commit | ff7265aeab4d6bf2b334b18c9212195b93e719e7 (patch) | |
tree | ef89ea250795039fabb7342a4953ac23cd548847 /meta-oe/recipes-core/dbus/dbus-broker_29.bb | |
parent | bf2999a5f3b6bfd3661c5cb8e3c9f78ac272952b (diff) | |
download | meta-openembedded-ff7265aeab4d6bf2b334b18c9212195b93e719e7.tar.gz |
dbus-broker: upgrade 28 -> 29
* Improve SELinux audit messages. This requires the new libselinux-3.2
and libaudit-3.0 releases. If audit/selinux support is enabled, those
are now the minimum required versions.
* Make linux-4.17 a hard-requirements. Older kernels are no longer
supported.
* Fix startup failures when at-console users have consecutive uids.
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-core/dbus/dbus-broker_29.bb')
-rw-r--r-- | meta-oe/recipes-core/dbus/dbus-broker_29.bb | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/meta-oe/recipes-core/dbus/dbus-broker_29.bb b/meta-oe/recipes-core/dbus/dbus-broker_29.bb new file mode 100644 index 000000000..49ba16911 --- /dev/null +++ b/meta-oe/recipes-core/dbus/dbus-broker_29.bb | |||
@@ -0,0 +1,33 @@ | |||
1 | SUMMARY = "dbus broker" | ||
2 | DESCRIPTION = "Drop-in replacement for dbus-daemon." | ||
3 | |||
4 | SECTION = "base" | ||
5 | |||
6 | LICENSE = "Apache-2.0" | ||
7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=7b486c2338d225a1405d979ed2c15ce8" | ||
8 | |||
9 | SRC_URI = "https://github.com/bus1/dbus-broker/releases/download/v${PV}/dbus-broker-${PV}.tar.xz" | ||
10 | SRC_URI[sha256sum] = "4eca425db52b7ab1027153e93fea9b3f11759db9e93ffbf88759b73ddfb8026a" | ||
11 | |||
12 | UPSTREAM_CHECK_URI = "https://github.com/bus1/${BPN}/releases" | ||
13 | |||
14 | inherit meson pkgconfig systemd features_check | ||
15 | |||
16 | DEPENDS = "expat systemd" | ||
17 | DEPENDS += " ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'libselinux', '', d)}" | ||
18 | DEPENDS += " ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'audit', '', d)}" | ||
19 | |||
20 | RDEPENDS_${PN} += "dbus-common" | ||
21 | |||
22 | REQUIRED_DISTRO_FEATURES = "systemd" | ||
23 | |||
24 | SYSTEMD_SERVICE_${PN} = "${BPN}.service" | ||
25 | |||
26 | FILES_${PN} += "${systemd_system_unitdir}" | ||
27 | FILES_${PN} += "${systemd_user_unitdir}" | ||
28 | FILES_${PN} += "${nonarch_libdir}/systemd/catalog" | ||
29 | |||
30 | EXTRA_OEMESON += " -Dselinux=${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'true', 'false', d)}" | ||
31 | EXTRA_OEMESON += " -Daudit=${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'true', 'false', d)}" | ||
32 | EXTRA_OEMESON += " -Dlinux-4-17=true" | ||
33 | |||