diff options
Diffstat (limited to 'discover')
-rw-r--r-- | discover/grub2/script.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/discover/grub2/script.c b/discover/grub2/script.c index 239ae38..67b4b78 100644 --- a/discover/grub2/script.c +++ b/discover/grub2/script.c @@ -304,6 +304,9 @@ int statement_menuentry_execute(struct grub2_script *script, } else { opt->option->name = talloc_strdup(opt, "(unknown)"); } + opt->option->id = talloc_asprintf(opt->option, "%s#%s", + script->ctx->device->device->id, + opt->option->name); script->opt = opt; |