]> git.ipfire.org Git - thirdparty/systemd.git/commit
gpt-generator: relax EFI check a bit 3757/head
authorLennart Poettering <lennart@poettering.net>
Thu, 21 Jul 2016 09:30:02 +0000 (11:30 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 21 Jul 2016 09:37:59 +0000 (11:37 +0200)
commit7ba25ab5616339a8340117b85cbecd061c52d8cc
treed188b15e134c58722138765463c03f90d952dd23
parent5b8411a2aa2d986a0c7e995c57d01ed6e56e74da
gpt-generator: relax EFI check a bit

Previously, we'd not mount the ESP except on EFI boots, and only when the ESP
used for booting matches the ESP we found.

With this change on non-EFI boots we'll mount a discovered ESP anyway, and on
EFI boots we'll only mount it if it matches the ESP we booted from.
src/gpt-auto-generator/gpt-auto-generator.c