discover/status: Add parse status for GRUB2, yaboot & kboot parsers
[petitboot] / discover / yaboot-parser.c
index b62f39db7a9466a3d2da2fdd8698568d6dabedff..42db95bcfbbb1ae758b4704303baa3b3992dc5d8 100644 (file)
@@ -6,6 +6,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <ctype.h>
 #include <stdlib.h>
 #include <string.h>
 #include <ctype.h>
+#include <i18n/i18n.h>
 
 #include "log/log.h"
 #include "talloc/talloc.h"
 
 #include "log/log.h"
 #include "talloc/talloc.h"
@@ -380,6 +381,9 @@ static int yaboot_parse(struct discover_context *dc)
                        continue;
 
                conf_parse_buf(conf, buf, len);
                        continue;
 
                conf_parse_buf(conf, buf, len);
+               device_handler_status_dev_info(dc->handler, dc->device,
+                               _("Parsed yaboot configuration from %s"),
+                               *filename);
                talloc_free(buf);
        }
 
                talloc_free(buf);
        }