Merge pull request #18019 from yuwata/hostname-drop-libudev

hostname: fix build failure
This commit is contained in:
Yu Watanabe 2020-12-19 00:57:36 +09:00 committed by GitHub
commit 8a5a01d19c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 1 deletions

View File

@ -81,6 +81,10 @@ node /org/freedesktop/hostname1 {
readonly s OperatingSystemCPEName = '...';
@org.freedesktop.DBus.Property.EmitsChangedSignal("const")
readonly s HomeURL = '...';
@org.freedesktop.DBus.Property.EmitsChangedSignal("const")
readonly s HardwareVendor = '...';
@org.freedesktop.DBus.Property.EmitsChangedSignal("const")
readonly s HardwareModel = '...';
};
interface org.freedesktop.DBus.Peer { ... };
interface org.freedesktop.DBus.Introspectable { ... };
@ -88,6 +92,10 @@ node /org/freedesktop/hostname1 {
};
</programlisting>
<!--property HardwareVendor is not documented!-->
<!--property HardwareModel is not documented!-->
<!--Autogenerated cross-references for systemd.directives, do not edit-->
<variablelist class="dbus-interface" generated="True" extra-ref="org.freedesktop.hostname1"/>
@ -140,6 +148,10 @@ node /org/freedesktop/hostname1 {
<variablelist class="dbus-property" generated="True" extra-ref="HomeURL"/>
<variablelist class="dbus-property" generated="True" extra-ref="HardwareVendor"/>
<variablelist class="dbus-property" generated="True" extra-ref="HardwareModel"/>
<!--End of Autogenerated section-->
<para>Whenever the hostname or other metadata is changed via the daemon,

View File

@ -20,7 +20,6 @@
#include "hostname-setup.h"
#include "hostname-util.h"
#include "id128-util.h"
#include "libudev.h"
#include "main-func.h"
#include "missing_capability.h"
#include "nscd-flush.h"