]> git.ipfire.org Git - thirdparty/grub.git/commit
commands/search: Add the diskfilter support
authorMaxim Suhanov <dfirblog@gmail.com>
Sun, 2 Mar 2025 20:32:43 +0000 (23:32 +0300)
committerDaniel Kiper <daniel.kiper@oracle.com>
Tue, 6 May 2025 15:14:03 +0000 (17:14 +0200)
commit10d778c4b4d56cc36836d86a9698bc5272b12101
tree0e57054028b6b2b07f8cf342875eebdb5be371eb
parent7a584fbde0c339816a57d55fc165a854039cf0b2
commands/search: Add the diskfilter support

When the --cryptodisk-only argument is given, also check the target
device using the "cryptocheck" command, if available.

This extends the checks to common layouts like LVM-on-LUKS, so the
--cryptodisk-only argument transparently handles such setups.

Signed-off-by: Maxim Suhanov <dfirblog@gmail.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
grub-core/commands/search.c