]> git.ipfire.org Git - thirdparty/grub.git/commit
osdep/devmapper/getroot: Set up cheated LUKS2 cryptodisk mount from DM parameters
authorJosselin Poiret <dev@jpoiret.xyz>
Thu, 12 Jan 2023 23:05:09 +0000 (17:05 -0600)
committerDaniel Kiper <daniel.kiper@oracle.com>
Wed, 1 Feb 2023 15:42:56 +0000 (16:42 +0100)
commitaa5172a55cfabdd0bed3161ad44fc228b9d019f7
tree1fe319bbc66e166489185bc7c1aa8b972faa16df
parent9022a48dd9984fc3e90a5b42c3b5483d6061ccfb
osdep/devmapper/getroot: Set up cheated LUKS2 cryptodisk mount from DM parameters

This lets a LUKS2 cryptodisk have its cipher and hash filled out,
otherwise they wouldn't be initialized if cheat mounted.

Signed-off-by: Josselin Poiret <dev@jpoiret.xyz>
Tested-by: Glenn Washburn <development@efficientek.com>
Reviewed-by: Patrick Steinhardt <ps@pks.im>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
grub-core/osdep/devmapper/getroot.c