• Andrei Borzenkov's avatar
    devmapper: check for valid device abstraction in get_grub_dev · 3bca85b4
    Andrei Borzenkov authored
    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
    3bca85b4
Name
Last commit
Last update
..
apple Loading commit data...
aros Loading commit data...
basic Loading commit data...
bsd Loading commit data...
devmapper Loading commit data...
freebsd Loading commit data...
generic Loading commit data...
haiku Loading commit data...
hurd Loading commit data...
linux Loading commit data...
sun Loading commit data...
unix Loading commit data...
windows Loading commit data...
blocklist.c Loading commit data...
compress.c Loading commit data...
config.c Loading commit data...
cputime.c Loading commit data...
dl.c Loading commit data...
emuconsole.c Loading commit data...
emunet.c Loading commit data...
exec.c Loading commit data...
getroot.c Loading commit data...
hostdisk.c Loading commit data...
init.c Loading commit data...
ofpath.c Loading commit data...
password.c Loading commit data...
platform.c Loading commit data...
platform_unix.c Loading commit data...
random.c Loading commit data...
relpath.c Loading commit data...
sleep.c Loading commit data...