summaryrefslogtreecommitdiff
path: root/src/boot
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/boot
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/boot')
-rw-r--r--src/boot/bootctl-util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/boot/bootctl-util.c b/src/boot/bootctl-util.c
index d93cc20318..7259f177a8 100644
--- a/src/boot/bootctl-util.c
+++ b/src/boot/bootctl-util.c
@@ -120,6 +120,7 @@ int settle_entry_token(void) {
arg_root,
etc_kernel(),
arg_machine_id,
+ /* machine_id_is_random = */ false,
&arg_entry_token_type,
&arg_entry_token);
if (r < 0)