summaryrefslogtreecommitdiffstats
path: root/src/boot
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-11-06 16:30:58 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-11-08 13:41:14 +0100
commitd6b4d1c7c42db5b53ece960c279856d96abbf216 (patch)
tree3b0a8f189d8d7f8e86303668748b6dbb5ad914b3 /src/boot
parentbasic,shared: move disable_coredumps() to coredump-util.[ch] (diff)
downloadsystemd-d6b4d1c7c42db5b53ece960c279856d96abbf216.tar.xz
systemd-d6b4d1c7c42db5b53ece960c279856d96abbf216.zip
basic: move version() to build.h+c
Diffstat (limited to 'src/boot')
-rw-r--r--src/boot/bless-boot.c2
-rw-r--r--src/boot/boot-check-no-failures.c2
-rw-r--r--src/boot/bootctl.c2
-rw-r--r--src/boot/measure.c1
-rw-r--r--src/boot/pcrphase.c1
5 files changed, 5 insertions, 3 deletions
diff --git a/src/boot/bless-boot.c b/src/boot/bless-boot.c
index 554a716d8a..b2dd60f8ad 100644
--- a/src/boot/bless-boot.c
+++ b/src/boot/bless-boot.c
@@ -5,6 +5,7 @@
#include "alloc-util.h"
#include "bootspec.h"
+#include "build.h"
#include "devnum-util.h"
#include "efi-api.h"
#include "efi-loader.h"
@@ -19,7 +20,6 @@
#include "pretty-print.h"
#include "sync-util.h"
#include "terminal-util.h"
-#include "util.h"
#include "verbs.h"
#include "virt.h"
diff --git a/src/boot/boot-check-no-failures.c b/src/boot/boot-check-no-failures.c
index 78642063c4..4ff91cb906 100644
--- a/src/boot/boot-check-no-failures.c
+++ b/src/boot/boot-check-no-failures.c
@@ -8,12 +8,12 @@
#include "sd-bus.h"
#include "alloc-util.h"
+#include "build.h"
#include "bus-error.h"
#include "log.h"
#include "main-func.h"
#include "pretty-print.h"
#include "terminal-util.h"
-#include "util.h"
static int help(void) {
_cleanup_free_ char *link = NULL;
diff --git a/src/boot/bootctl.c b/src/boot/bootctl.c
index b53df11764..79b2676537 100644
--- a/src/boot/bootctl.c
+++ b/src/boot/bootctl.c
@@ -15,6 +15,7 @@
#include "alloc-util.h"
#include "blkid-util.h"
#include "bootspec.h"
+#include "build.h"
#include "chase-symlinks.h"
#include "copy.h"
#include "devnum-util.h"
@@ -53,7 +54,6 @@
#include "tpm2-util.h"
#include "umask-util.h"
#include "utf8.h"
-#include "util.h"
#include "verbs.h"
#include "virt.h"
diff --git a/src/boot/measure.c b/src/boot/measure.c
index 4f16acedf0..b9cd2853b6 100644
--- a/src/boot/measure.c
+++ b/src/boot/measure.c
@@ -4,6 +4,7 @@
#include <unistd.h>
#include "alloc-util.h"
+#include "build.h"
#include "efi-loader.h"
#include "fd-util.h"
#include "fileio.h"
diff --git a/src/boot/pcrphase.c b/src/boot/pcrphase.c
index 267f66767c..a77a85fb2e 100644
--- a/src/boot/pcrphase.c
+++ b/src/boot/pcrphase.c
@@ -4,6 +4,7 @@
#include <sd-messages.h>
+#include "build.h"
#include "efivars.h"
#include "main-func.h"
#include "openssl-util.h"