From: Lennart Poettering Date: Sun, 9 Feb 2025 08:54:04 +0000 (+0100) Subject: bootctl,kernel-install: suffix some paths referring to dirs in log messages with / X-Git-Tag: v258-rc1~1369 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37252381d2085be0e1d41c106e1e7f7dc3bc564d;p=thirdparty%2Fsystemd.git bootctl,kernel-install: suffix some paths referring to dirs in log messages with / --- diff --git a/src/bootctl/bootctl.c b/src/bootctl/bootctl.c index 1b77e2769f9..fe7b876e641 100644 --- a/src/bootctl/bootctl.c +++ b/src/bootctl/bootctl.c @@ -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) diff --git a/src/kernel-install/kernel-install.c b/src/kernel-install/kernel-install.c index f059f5dc763..899499da4c5 100644 --- a/src/kernel-install/kernel-install.c +++ b/src/kernel-install/kernel-install.c @@ -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)