]> git.ipfire.org Git - thirdparty/systemd.git/commit
kernel-install: check all entry candidates first, then check existence of $pref/loade... 26863/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 16 Mar 2023 04:33:28 +0000 (13:33 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 17 Mar 2023 11:41:17 +0000 (20:41 +0900)
commitb0e339547fe3e14c61b64d726749d504c39e466c
treea3790c70a3ec2c70fd459dfa323252957f29bf3e
parent561d8013708bd65d0963e3890c7c55cf7c8830d0
kernel-install: check all entry candidates first, then check existence of $pref/loader/entries only once

If we have multiple entries in $ENTRY_TOKEN_SEARCH, and $pref/loader/entries
exists, then previously we would always exit after the first candidate and
ignore the second and later candidates.

Follow-up for 1b43f868934e971480249a6e0fa2f45da906ea2e.
src/kernel-install/kernel-install.in