summaryrefslogtreecommitdiffstats
path: root/discover/kboot-parser.c
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2016-12-12 21:20:22 +0800
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>2016-12-20 16:40:21 +1100
commit5b33aaaaad68b890aacc3ddc4e47812a58d8c1e6 (patch)
tree087fd05bcd9069edbe0f213e6d0a3ce8178e966b /discover/kboot-parser.c
parentc9b3a69b272a305dfc40bb4f0d5b8e3b6f6f2521 (diff)
downloadtalos-petitboot-5b33aaaaad68b890aacc3ddc4e47812a58d8c1e6.tar.gz
talos-petitboot-5b33aaaaad68b890aacc3ddc4e47812a58d8c1e6.zip
discover/status: Add parse status for GRUB2, yaboot & kboot parsers
Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
Diffstat (limited to 'discover/kboot-parser.c')
-rw-r--r--discover/kboot-parser.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/discover/kboot-parser.c b/discover/kboot-parser.c
index f7f75e0..bf9c5eb 100644
--- a/discover/kboot-parser.c
+++ b/discover/kboot-parser.c
@@ -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);
}
OpenPOWER on IntegriCloud