summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-03-04 21:53:19 +0100
committerLennart Poettering <lennart@poettering.net>2011-03-04 21:53:19 +0100
commitd7ccca2e3f86feb81a48e243d8bad78814659a74 (patch)
tree93f0063f961ec21b31546778add98c3b1cfe5c21 /Makefile.am
parent63a723f3a7caf4eb1bc46a3849f59f27337924b7 (diff)
main: introduce /etc/machine-id
This is supposed to play the same roles /var/lib/dbus/machine-id, however fixes a couple of problems: - It is available during early boot since it is stored in /etc - Removes the ID from the D-Bus context and moves it into a system context, thus hopefully lowering hesitation by people to use it. - It is generated at installation time. If the file is empty at boot time it will be mounted over with a randomly generated ID, which is not saved to disk. This is useful to support state-less machines with no transient or writable /etc configuration.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am15
1 files changed, 14 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 1841ad5c5a..3d32df2e46 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -98,7 +98,8 @@ rootbin_PROGRAMS = \
systemd-notify \
systemd-ask-password \
systemd-tty-ask-password-agent \
- systemd-tmpfiles
+ systemd-tmpfiles \
+ systemd-machine-id-setup
bin_PROGRAMS = \
systemd-cgls
@@ -434,6 +435,7 @@ libsystemd_core_la_SOURCES = \
src/loopback-setup.c \
src/kmod-setup.c \
src/locale-setup.c \
+ src/machine-id-setup.c \
src/specifier.c \
src/unit-name.c \
src/fdset.c \
@@ -523,6 +525,7 @@ MANPAGES = \
man/systemd.conf.5 \
man/tmpfiles.d.5 \
man/hostname.5 \
+ man/machine-id.5 \
man/vconsole.conf.5 \
man/locale.conf.5 \
man/os-release.5 \
@@ -737,6 +740,16 @@ systemd_tmpfiles_CFLAGS = \
systemd_tmpfiles_LDADD = \
libsystemd-basic.la
+systemd_machine_id_setup_SOURCES = \
+ src/machine-id-setup.c \
+ src/machine-id-main.c
+
+systemd_machine_id_setup_CFLAGS = \
+ $(AM_CFLAGS)
+
+systemd_machine_id_setup_LDADD = \
+ libsystemd-basic.la
+
systemd_sysctl_SOURCES = \
src/sysctl.c