@@ -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;
@@ -5,6 +5,7 @@
#include <assert.h>
#include <stdlib.h>
#include <string.h>
+#include <i18n/i18n.h>
#include "log/log.h"
#include "talloc/talloc.h"
@@ -188,6 +189,9 @@ static int kboot_parse(struct discover_context *dc)
continue;
conf_parse_buf(conf, buf, len);
+ device_handler_status_dev_info(dc->handler, dc->device,
+ _("Parsed kboot configuration from %s"),
+ *filename);
talloc_free(buf);
}
@@ -6,6 +6,7 @@
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
+#include <i18n/i18n.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);
+ device_handler_status_dev_info(dc->handler, dc->device,
+ _("Parsed yaboot configuration from %s"),
+ *filename);
talloc_free(buf);
}