mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-18 21:11:08 +02:00
sys-apps/dbus: Apply Flatcar patches
Signed-off-by: Sayan Chowdhury <sayan@kinvolk.io>
This commit is contained in:
parent
d3d56cda69
commit
2a3a1c8bc8
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
EAPI=7
|
EAPI=7
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{7,8,9} )
|
PYTHON_COMPAT=( python3_7 )
|
||||||
inherit autotools flag-o-matic linux-info python-any-r1 readme.gentoo-r1 systemd virtualx multilib-minimal
|
inherit autotools flag-o-matic linux-info python-any-r1 readme.gentoo-r1 systemd virtualx multilib-minimal
|
||||||
|
|
||||||
DESCRIPTION="A message bus system, a simple way for applications to talk to each other"
|
DESCRIPTION="A message bus system, a simple way for applications to talk to each other"
|
||||||
@ -43,9 +43,11 @@ DEPEND="${COMMON_DEPEND}
|
|||||||
>=dev-libs/glib-2.40:2
|
>=dev-libs/glib-2.40:2
|
||||||
)
|
)
|
||||||
"
|
"
|
||||||
|
|
||||||
|
# Flatcar: drop dependency on sec-policy/selinux-dbus, to avoid pulling in
|
||||||
|
# unnecessary ebuilds into rootfs
|
||||||
RDEPEND="${COMMON_DEPEND}
|
RDEPEND="${COMMON_DEPEND}
|
||||||
acct-user/messagebus
|
acct-user/messagebus
|
||||||
selinux? ( sec-policy/selinux-dbus )
|
|
||||||
"
|
"
|
||||||
|
|
||||||
DOC_CONTENTS="
|
DOC_CONTENTS="
|
||||||
@ -246,11 +248,7 @@ multilib_src_install_all() {
|
|||||||
pkg_postinst() {
|
pkg_postinst() {
|
||||||
readme.gentoo_print_elog
|
readme.gentoo_print_elog
|
||||||
|
|
||||||
# Ensure unique id is generated and put it in /etc wrt #370451 but symlink
|
# Flatcar: remove machine-id generation.
|
||||||
# for DBUS_MACHINE_UUID_FILE (see tools/dbus-launch.c) and reverse
|
|
||||||
# dependencies with hardcoded paths (although the known ones got fixed already)
|
|
||||||
dbus-uuidgen --ensure="${EROOT}"/etc/machine-id
|
|
||||||
ln -sf "${EPREFIX}"/etc/machine-id "${EROOT}"/var/lib/dbus/machine-id
|
|
||||||
|
|
||||||
if [[ ${CHOST} == *-darwin* ]]; then
|
if [[ ${CHOST} == *-darwin* ]]; then
|
||||||
local plist="org.freedesktop.dbus-session.plist"
|
local plist="org.freedesktop.dbus-session.plist"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user