]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
bootctl,kernel-install: suffix some paths referring to dirs in log messages with /
authorLennart Poettering <lennart@poettering.net>
Sun, 9 Feb 2025 08:54:04 +0000 (09:54 +0100)
committerMike Yuan <me@yhndnzj.com>
Mon, 10 Feb 2025 00:15:52 +0000 (01:15 +0100)
src/bootctl/bootctl.c
src/kernel-install/kernel-install.c

index 1b77e2769f9fc5feab29acb173713925fc3279fe..fe7b876e6417ecd59a81a9fdc5d6893e867e825e 100644 (file)
@@ -109,7 +109,7 @@ int acquire_esp(
                                               "Couldn't find EFI system partition, skipping.");
 
                 return log_error_errno(r,
-                                       "Couldn't find EFI system partition. It is recommended to mount it to /boot or /efi.\n"
+                                       "Couldn't find EFI system partition. It is recommended to mount it to /boot/ or /efi/.\n"
                                        "Alternatively, use --esp-path= to specify path to mount point.");
         }
         if (r < 0)
index f059f5dc763fe2c75a915a6532a29c84831344b1..899499da4c504440d22eed1cf2c1bf8e4725c012 100644 (file)
@@ -618,7 +618,7 @@ static int context_ensure_boot_root(Context *c) {
         if (c->rfd >= 0) {
                 r = chaseat(c->rfd, "/boot", CHASE_AT_RESOLVE_IN_ROOT, &c->boot_root, /* ret_fd = */ NULL);
                 if (r < 0)
-                        return log_error_errno(r, "Failed to chase '/boot': %m");
+                        return log_error_errno(r, "Failed to chase '/boot/': %m");
         } else {
                 c->boot_root = strdup("/boot");
                 if (!c->boot_root)