summaryrefslogtreecommitdiff
path: root/src/grp-hostname
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-10-21 03:00:49 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-10-21 03:00:49 -0400
commit623f13d8198b83df890f014b1d27255f4d78f35b (patch)
treea38236004dfb3abd99952585638e6141513eaa8c /src/grp-hostname
parentbe6cdcb499515a8dc200440f9c0f95d16edbaa2d (diff)
wip
Diffstat (limited to 'src/grp-hostname')
-rw-r--r--src/grp-hostname/hostnamectl/Makefile1
-rw-r--r--src/grp-hostname/hostnamectl/hostnamectl.c12
-rw-r--r--src/grp-hostname/systemd-hostnamed/Makefile1
-rw-r--r--src/grp-hostname/systemd-hostnamed/hostnamed.c26
4 files changed, 21 insertions, 19 deletions
diff --git a/src/grp-hostname/hostnamectl/Makefile b/src/grp-hostname/hostnamectl/Makefile
index a36d616a5c..5285beca4b 100644
--- a/src/grp-hostname/hostnamectl/Makefile
+++ b/src/grp-hostname/hostnamectl/Makefile
@@ -29,6 +29,7 @@ hostnamectl_SOURCES = \
src/hostname/hostnamectl.c
hostnamectl_LDADD = \
+ libsystemd-internal.la \
libsystemd-shared.la
bin_PROGRAMS += \
diff --git a/src/grp-hostname/hostnamectl/hostnamectl.c b/src/grp-hostname/hostnamectl/hostnamectl.c
index 8a24813934..c5f702087d 100644
--- a/src/grp-hostname/hostnamectl/hostnamectl.c
+++ b/src/grp-hostname/hostnamectl/hostnamectl.c
@@ -26,13 +26,13 @@
#include <systemd/sd-bus.h>
#include <systemd/sd-id128.h>
-#include "basic/alloc-util.h"
-#include "basic/architecture.h"
-#include "basic/hostname-util.h"
-#include "basic/util.h"
#include "sd-bus/bus-error.h"
-#include "shared/bus-util.h"
-#include "shared/spawn-polkit-agent.h"
+#include "sd-bus/bus-util.h"
+#include "systemd-basic/alloc-util.h"
+#include "systemd-basic/architecture.h"
+#include "systemd-basic/hostname-util.h"
+#include "systemd-basic/util.h"
+#include "systemd-shared/spawn-polkit-agent.h"
static bool arg_ask_password = true;
static BusTransport arg_transport = BUS_TRANSPORT_LOCAL;
diff --git a/src/grp-hostname/systemd-hostnamed/Makefile b/src/grp-hostname/systemd-hostnamed/Makefile
index 2408c1c47f..cce065ccd4 100644
--- a/src/grp-hostname/systemd-hostnamed/Makefile
+++ b/src/grp-hostname/systemd-hostnamed/Makefile
@@ -28,6 +28,7 @@ systemd_hostnamed_SOURCES = \
src/hostname/hostnamed.c
systemd_hostnamed_LDADD = \
+ libsystemd-internal.la \
libsystemd-shared.la
rootlibexec_PROGRAMS += \
diff --git a/src/grp-hostname/systemd-hostnamed/hostnamed.c b/src/grp-hostname/systemd-hostnamed/hostnamed.c
index 366adbb282..a18658e92e 100644
--- a/src/grp-hostname/systemd-hostnamed/hostnamed.c
+++ b/src/grp-hostname/systemd-hostnamed/hostnamed.c
@@ -22,19 +22,19 @@
#include <sys/utsname.h>
#include <unistd.h>
-#include "basic/alloc-util.h"
-#include "basic/def.h"
-#include "basic/env-util.h"
-#include "basic/fileio-label.h"
-#include "basic/hostname-util.h"
-#include "basic/parse-util.h"
-#include "basic/path-util.h"
-#include "basic/selinux-util.h"
-#include "basic/strv.h"
-#include "basic/user-util.h"
-#include "basic/util.h"
-#include "basic/virt.h"
-#include "shared/bus-util.h"
+#include "sd-bus/bus-util.h"
+#include "systemd-basic/alloc-util.h"
+#include "systemd-basic/def.h"
+#include "systemd-basic/env-util.h"
+#include "systemd-basic/fileio-label.h"
+#include "systemd-basic/hostname-util.h"
+#include "systemd-basic/parse-util.h"
+#include "systemd-basic/path-util.h"
+#include "systemd-basic/selinux-util.h"
+#include "systemd-basic/strv.h"
+#include "systemd-basic/user-util.h"
+#include "systemd-basic/util.h"
+#include "systemd-basic/virt.h"
#define VALID_DEPLOYMENT_CHARS (DIGITS LETTERS "-.:")