diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-11-28 18:21:22 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-11-30 17:42:00 +0100 |
commit | b50a3a1565028cda00e1ade264bb209c97dac3cc (patch) | |
tree | 2900fea7a3c2f480c49807964faf2ba3c03be1c7 /src/gpt-auto-generator | |
parent | 1fac34b9412154c8e69f77274ae10cb459afc65c (diff) | |
download | systemd-b50a3a1565028cda00e1ade264bb209c97dac3cc.tar.gz |
gpt-auto-generator: make it easier to notice if boot loader support is missing
The docs didn't talk about this, so let's add an explicit mention that the
boot loader must cooperate. And also make the message from the generator
notice level. This should help people who are trying to mix grub and the
gpt auto logic.
Diffstat (limited to 'src/gpt-auto-generator')
-rw-r--r-- | src/gpt-auto-generator/gpt-auto-generator.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gpt-auto-generator/gpt-auto-generator.c b/src/gpt-auto-generator/gpt-auto-generator.c index 99b5da17f5..bbfebbbe95 100644 --- a/src/gpt-auto-generator/gpt-auto-generator.c +++ b/src/gpt-auto-generator/gpt-auto-generator.c @@ -612,7 +612,8 @@ static int add_root_mount(void) { r = efi_loader_get_device_part_uuid(NULL); if (r == -ENOENT) { - log_debug("EFI loader partition unknown, exiting."); + log_notice("EFI loader partition unknown, exiting.\n" + "(The boot loader did not set EFI variable LoaderDevicePartUUID.)"); return 0; } else if (r < 0) return log_error_errno(r, "Failed to read ESP partition UUID: %m"); |