]> git.ipfire.org Git - thirdparty/grub.git/commit
grub-probe: Don't skip /dev/mapper/dm-* devices
authorOleg Solovyov <mcpain@altlinux.org>
Fri, 11 May 2018 10:55:46 +0000 (13:55 +0300)
committerDaniel Kiper <daniel.kiper@oracle.com>
Tue, 29 May 2018 13:55:27 +0000 (15:55 +0200)
commit6d28b3bd266e1d935de5916860645ea8cabf2335
tree6cc570b577aeb8ec627ac0a60ff98383174f6b40
parentb66e364f131228f4215ff8f0b8173f14931d9b6c
grub-probe: Don't skip /dev/mapper/dm-* devices

This patch ensures that grub-probe will find the root device placed in
/dev/mapper/dm-[0-9]+-.* e.g. device named /dev/mapper/dm-0-luks will be
found and grub.cfg will be updated properly, enabling the system to boot.

Signed-off-by: Oleg Solovyov <mcpain@altlinux.org>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
grub-core/osdep/unix/getroot.c