dbus service: remove {system,session}.conf from config dir
They are already included by dbus from /run/current-system/sw/share/dbus-1.
This commit is contained in:
parent
39344a36d3
commit
72b3746266
|
@ -27,14 +27,6 @@ let
|
||||||
''
|
''
|
||||||
mkdir -p $out
|
mkdir -p $out
|
||||||
|
|
||||||
cp ${pkgs.dbus.out}/share/dbus-1/{system,session}.conf $out
|
|
||||||
|
|
||||||
# avoid circular includes
|
|
||||||
sed -ri 's@(<include ignore_missing="yes">/etc/dbus-1/(system|session)\.conf</include>)@<!-- \1 -->@g' $out/{system,session}.conf
|
|
||||||
|
|
||||||
# include by full path
|
|
||||||
sed -ri "s@/etc/dbus-1/(system|session)-@$out/\1-@" $out/{system,session}.conf
|
|
||||||
|
|
||||||
sed '${./dbus-system-local.conf.in}' \
|
sed '${./dbus-system-local.conf.in}' \
|
||||||
-e 's,@servicehelper@,${config.security.wrapperDir}/dbus-daemon-launch-helper,g' \
|
-e 's,@servicehelper@,${config.security.wrapperDir}/dbus-daemon-launch-helper,g' \
|
||||||
-e 's,@extra@,${systemExtraxml},' \
|
-e 's,@extra@,${systemExtraxml},' \
|
||||||
|
|
Loading…
Reference in New Issue