summaryrefslogtreecommitdiff
path: root/src/shared/boot-entry.h
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2023-03-29 11:14:02 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2023-04-12 08:31:50 +0900
commit3b5fc5fb1bf4b1601c0e54809b0f475c43d52f68 (patch)
tree71e21d884e7653b36a63477bcdbc515b6265bcf5 /src/shared/boot-entry.h
parent965b481d9bdf186e2a74dae2fac17427b2ade22a (diff)
downloadsystemd-3b5fc5fb1bf4b1601c0e54809b0f475c43d52f68.tar.gz
boot-entry: prioritize machine ID only when it is not randomly generated
Preparation for later commits. The parameter will be used in kernel-install later.
Diffstat (limited to 'src/shared/boot-entry.h')
-rw-r--r--src/shared/boot-entry.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/boot-entry.h b/src/shared/boot-entry.h
index 97b30702bc..73781a9027 100644
--- a/src/shared/boot-entry.h
+++ b/src/shared/boot-entry.h
@@ -19,6 +19,7 @@ int boot_entry_token_ensure(
const char *root,
const char *etc_kernel, /* will be prefixed with root, typically /etc/kernel. */
sd_id128_t machine_id,
+ bool machine_id_is_random,
BootEntryTokenType *type, /* input and output */
char **token); /* output, but do not pass uninitialized value. */