factor cryptodisk part out
This commit is contained in:
parent
fcf3bfb6ff
commit
8585e54bec
7 changed files with 80 additions and 655 deletions
|
@ -962,7 +962,7 @@ grub_util_get_grub_dev (const char *os_dev)
|
|||
dash = grub_strchr (uuid + sizeof ("CRYPT-LUKS1-") - 1, '-');
|
||||
if (dash)
|
||||
*dash = 0;
|
||||
grub_dev = grub_xasprintf ("luksuuid/%s",
|
||||
grub_dev = grub_xasprintf ("cryptouuid/%s",
|
||||
uuid + sizeof ("CRYPT-LUKS1-") - 1);
|
||||
grub_free (uuid);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue