From 0be6dee2c2b75ab634b45d7ef6a17b74601f9a3b Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Fri, 18 Dec 2020 23:08:41 +0900 Subject: [PATCH 1/2] hostname: fix build failure Follow-up for b9d8069832425b34211a6812e06537e0c50d46b6. libudev.h was dropped from most of our binaries. --- src/hostname/hostnamed.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/hostname/hostnamed.c b/src/hostname/hostnamed.c index a2a09c28ed..d797324783 100644 --- a/src/hostname/hostnamed.c +++ b/src/hostname/hostnamed.c @@ -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" From a4c3c5b75156fedee5773ecb34fb9ba4dc19f91b Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Fri, 18 Dec 2020 23:25:43 +0900 Subject: [PATCH 2/2] man: update org.freedesktop.hostname1.xml --- man/org.freedesktop.hostname1.xml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/man/org.freedesktop.hostname1.xml b/man/org.freedesktop.hostname1.xml index a17339ad07..5b5f4fb3a7 100644 --- a/man/org.freedesktop.hostname1.xml +++ b/man/org.freedesktop.hostname1.xml @@ -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 { }; + + + + @@ -140,6 +148,10 @@ node /org/freedesktop/hostname1 { + + + + Whenever the hostname or other metadata is changed via the daemon,