mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
core: Look up /etc/machine-id if D-Bus machine-id is not found
It appears that this is currently the fallback for early boot and other such cases where /var might not be available. Relevant upstream commit: http://cgit.freedesktop.org/dbus/dbus/commit/?id=66e52541d5bdd4927a5c702963749760643313f4 Thanks to Samuli Suominen <ssuominen@gentoo.org> for pointing this out in https://bugs.gentoo.org/show_bug.cgi?id=390287
This commit is contained in:
parent
c2976b1f87
commit
42881d2770
2 changed files with 5 additions and 1 deletions
|
|
@ -935,6 +935,9 @@ AS_IF([test "x$HAVE_DBUS" = "x1"], AC_DEFINE([HAVE_DBUS], 1, [Have D-Bus.]))
|
|||
|
||||
PA_MACHINE_ID="${localstatedir}/lib/dbus/machine-id"
|
||||
AX_DEFINE_DIR(PA_MACHINE_ID, PA_MACHINE_ID, [D-Bus machine-id file])
|
||||
PA_MACHINE_ID_FALLBACK="${sysconfdir}/machine-id"
|
||||
AX_DEFINE_DIR(PA_MACHINE_ID_FALLBACK, PA_MACHINE_ID_FALLBACK,
|
||||
[Fallback machine-id file])
|
||||
|
||||
#### HAL support (optional), dependant on D-Bus ####
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue