X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=discover%2Fgrub2-parser.c;h=97b96537482f7b1bc83f31855f052e4ea041138b;hb=9af0c65fa5ba9ae8527a70dbf0e808d777dfb479;hp=05893292ea2b4cf93caa30f0a2d34e4bcb9bc605;hpb=5e7c90eddd7ac2e4a3b05a7a5f6e29166edfa161;p=petitboot diff --git a/discover/grub2-parser.c b/discover/grub2-parser.c index 0589329..97b9653 100644 --- a/discover/grub2-parser.c +++ b/discover/grub2-parser.c @@ -192,10 +192,11 @@ static int grub2_parse(struct discover_context *dc, char *buf, int len) } static struct parser grub2_parser = { - .name = "grub2", - .method = CONF_METHOD_LOCAL_FILE, - .parse = grub2_parse, - .filenames = grub2_conf_files, + .name = "grub2", + .method = CONF_METHOD_LOCAL_FILE, + .parse = grub2_parse, + .filenames = grub2_conf_files, + .resolve_resource = resolve_devpath_resource, }; register_parser(grub2_parser);