grub/grub-core/osdep/devmapper
Andrei Borzenkov 3bca85b418 devmapper: check for valid device abstraction in get_grub_dev
This was lost when code was refactored. Patch restores previous behavior.

It is still not clear whether this is the right one. Due to the way we
detect DM abstraction, partitions on DM are skipped, we fall through to
generic detection which ends up in assuming parent device is BIOS disk.

It is useful to install GRUB on VM disk from the host. But it also means
that GRUB will mistakenly allow install on real system as well.

For now let's fix regression; future behavior needs to be discussed.

Closes: 45163
2015-12-26 21:45:22 +03:00
..
getroot.c devmapper: check for valid device abstraction in get_grub_dev 2015-12-26 21:45:22 +03:00
hostdisk.c Make grub_util_device_is_mapped_stat available in grub-emu core. 2013-12-24 16:56:14 +01:00