]> git.ipfire.org Git - thirdparty/systemd.git/commit
find-esp: Relax filesystem root directory check
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 21 Nov 2022 19:41:22 +0000 (20:41 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 23 Nov 2022 08:20:10 +0000 (09:20 +0100)
commitd91a5f6481d35e28148fe46bc490bb4f34656947
treeb987878eebcc46eeb68b70060eb02af1f300beb7
parent0dce448bbc97c861520c287b01d632b887442925
find-esp: Relax filesystem root directory check

When relaxed checks are requested, let's not require the efi/xbootldr
directory to be the root of the filesystem. When building images, image
builders might install all efi/xbootldr files to a regular directory
first before packing them up into a partition. To allow bootctl to be
used in such scenarios to install systemd-boot, we need to relax the
fsroot check.
src/shared/find-esp.c