kernel-install: when searching for location to place kernel consider /efi
authorLennart Poettering <lennart@poettering.net>
Tue, 19 Jul 2016 19:08:57 +0000 (21:08 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 21 Jul 2016 09:37:59 +0000 (11:37 +0200)
commit5b8411a2aa2d986a0c7e995c57d01ed6e56e74da
tree3f45d354c7e882cf1ef75f76f810ff3985aafcaf
parentd5ff6d6d341d56de725633a38e23778e58140b9e
kernel-install: when searching for location to place kernel consider /efi

With this change kernel-install will now first look for an existing kernel
installation in /efi, /boot and /boot/efi. If none is found, /efi is used if it
is a mount point, otherwise /boot/efi if it is one. If nothing of that worked
/boot is used without further checking.

This means /boot should be the default unless something was installed before or
something else was explicitly mounted.
src/kernel-install/kernel-install