mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-05 20:26:44 +02:00
usr(systemd-dbus): point dbus related configs to /usr/share
This commit is contained in:
parent
44039df4a5
commit
e0b84a4981
@ -77,6 +77,7 @@ src_configure() {
|
||||
# libaudit is *only* used in DBus wrt SELinux support, so disable it, if
|
||||
# not on an SELinux profile.
|
||||
myconf=(
|
||||
--sysconfdir=/usr/share
|
||||
--disable-silent-rules
|
||||
--localstatedir="${EPREFIX}/var"
|
||||
--docdir="${EPREFIX}/usr/share/doc/${PF}"
|
||||
@ -155,7 +156,6 @@ src_install() {
|
||||
|
||||
# needs to exist for dbus sessions to launch
|
||||
keepdir /usr/share/dbus-1/services
|
||||
keepdir /etc/dbus-1/{session,system}.d
|
||||
# machine-id symlink from pkg_postinst()
|
||||
keepdir /var/lib/dbus
|
||||
|
||||
|
||||
@ -115,6 +115,8 @@ pkg_setup() {
|
||||
|
||||
multilib_src_configure() {
|
||||
local myeconfargs=(
|
||||
--with-pamconfdir=/usr/share/pam.d
|
||||
--with-dbuspolicydir=/usr/share/dbus-1/system.d
|
||||
--localstatedir=/var
|
||||
--with-pamlibdir=$(getpam_mod_dir)
|
||||
# avoid bash-completion dep
|
||||
@ -191,7 +193,6 @@ multilib_src_configure() {
|
||||
--disable-python-devel
|
||||
)
|
||||
fi
|
||||
|
||||
# Work around bug 463846.
|
||||
tc-export CC
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user