gpt-generator: use /efi as mount point for the ESP if it exists
authorLennart Poettering <lennart@poettering.net>
Tue, 19 Jul 2016 16:19:29 +0000 (18:19 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 21 Jul 2016 09:10:35 +0000 (11:10 +0200)
commitb52a109ad38cd37b660ccd5394ff5c171a5e5355
tree71ce3c6d66c23380652331401ba776c5a5d182f7
parent36376e0b71d97e276429e0e6307f116587ac83bd
gpt-generator: use /efi as mount point for the ESP if it exists

Let's make the EFI generator a bit smarter: if /efi exists it is used as mount
point for the ESP, otherwise /boot is used. This should increase compatibility
with distros which use legacy boot loaders that insist on having /boot as
something that isn't the ESP.
man/systemd-gpt-auto-generator.xml
src/gpt-auto-generator/gpt-auto-generator.c