]> git.ipfire.org Git - thirdparty/systemd.git/commit - meson.build
systemd-id128: a new tool to print machine/boot/invocation/app-specific ids
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 21 Aug 2018 14:08:48 +0000 (16:08 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 2 Oct 2018 13:15:10 +0000 (15:15 +0200)
commit0d1d512f7f42071595f0c950f911f3557fda09ea
treea2a35f4f32b83852fcef63b79ca768c82045b699
parent65d410c7cac1cdb312fd44ac5b4e8bb49f8a5f6f
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
man/sd_id128_get_machine.xml
meson.build
src/id128/id128.c [new file with mode: 0644]
src/journal/journalctl.c
src/shared/id128-print.c
src/shared/id128-print.h