]> git.ipfire.org Git - thirdparty/systemd.git/commit
gpt-auto: skip mounting ESP if fstab for /boot/ uses the same device as discovered one 28511/head
authorMike Yuan <me@yhndnzj.com>
Wed, 26 Jul 2023 04:10:43 +0000 (12:10 +0800)
committerMike Yuan <me@yhndnzj.com>
Wed, 26 Jul 2023 07:00:06 +0000 (15:00 +0800)
commit69d7f35ce4b642910575a3d973e713a27285663d
tree359847f55d61751b0427b2bc330602ba4e29d0a8
parent99299d0d5a722812cedc0a23e4987f90a257c2d2
gpt-auto: skip mounting ESP if fstab for /boot/ uses the same device as discovered one

Follow-up for 6a488fa7cce8124fa885adf8a2f31363fe62f636

Currently, if an fstab entry for /boot/ exists, we'll skip to try /efi/
instead. However, if it's already using the same device as the discovered
one, we should not duplicate the mount.
src/gpt-auto-generator/gpt-auto-generator.c