From 0d1d512f7f42071595f0c950f911f3557fda09ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Tue, 21 Aug 2018 16:08:48 +0200 Subject: systemd-id128: a new tool to print machine/boot/invocation/app-specific ids The raison d'etre for this program is printing machine-app-specific IDs. We provide a library function for that, but not a convenient API. We can hardly ask people to quickly hack their own C programs or call libsystemd through CFFI in python or another scripting language if they just want to print an ID. Verb 'new' was already available as 'journalctl --new-id128', but this makes it more discoverable. v2: - rename binary to systemd-id128 - make --app-specific= into a switch that applies to boot-id and machine-id --- meson.build | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'meson.build') diff --git a/meson.build b/meson.build index 1c4febfa4b..49da6825e0 100644 --- a/meson.build +++ b/meson.build @@ -2323,6 +2323,14 @@ executable('systemd-cgroups-agent', install : true, install_dir : rootlibexecdir) +exe = executable('systemd-id128', + 'src/id128/id128.c', + include_directories : includes, + link_with : [libshared], + install_rpath : rootlibexecdir, + install : true) +public_programs += exe + exe = executable('systemd-path', 'src/path/path.c', include_directories : includes, -- cgit v1.2.3