discover: Add configuration methods
[petitboot] / discover / grub2-parser.c
index 4a1acf5da371113562005a07fa763a2033138240..05893292ea2b4cf93caa30f0a2d34e4bcb9bc605 100644 (file)
@@ -193,6 +193,7 @@ static int grub2_parse(struct discover_context *dc, char *buf, int len)
 
 static struct parser grub2_parser = {
        .name           = "grub2",
 
 static struct parser grub2_parser = {
        .name           = "grub2",
+       .method         = CONF_METHOD_LOCAL_FILE,
        .parse          = grub2_parse,
        .filenames      = grub2_conf_files,
 };
        .parse          = grub2_parse,
        .filenames      = grub2_conf_files,
 };