geli support

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2011-04-24 00:00:29 +02:00
parent 8585e54bec
commit 1a1f408f20
9 changed files with 1281 additions and 8 deletions

View file

@ -308,8 +308,12 @@ fstest (int n, char **args)
{
char *argv[2] = { "-a", NULL};
if (mount_crypt)
if (execute_command ("luksmount", 1, argv))
grub_util_error (_("luksmount command fails: %s"), grub_errmsg);
{
if (execute_command ("luksmount", 1, argv))
grub_util_error (_("luksmount command fails: %s"), grub_errmsg);
if (execute_command ("gelimount", 1, argv))
grub_util_error (_("gelimount command fails: %s"), grub_errmsg);
}
}
grub_lvm_fini ();