discover/status: Add parse status for GRUB2, yaboot & kboot parsers
[petitboot] / discover / grub2 / grub2.c
index 5b3009a465f7d43ac8f351c00aac7b1075fbd24b..34746164728f4e3edc166a7c39f1039e94227f15 100644 (file)
@@ -1,6 +1,7 @@
 
 #include <assert.h>
 #include <string.h>
+#include <i18n/i18n.h>
 
 #include <talloc/talloc.h>
 #include <url/url.h>
@@ -103,6 +104,9 @@ static int grub2_parse(struct discover_context *dc)
 
                parser = grub2_parser_create(dc);
                grub2_parser_parse(parser, *filename, buf, len);
+               device_handler_status_dev_info(dc->handler, dc->device,
+                               _("Parsed GRUB configuration from %s"),
+                               *filename);
                talloc_free(buf);
                talloc_free(parser);
                break;