summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2013-11-15 15:23:54 +1100
committerJeremy Kerr <jk@ozlabs.org>2013-11-22 10:45:54 +0800
commit8b2ccd525b328994d3e62c01092b20859a23e36d (patch)
tree124fb1700a947188fecfd5b5ebebe443452c2fdb /test
parent263968fb67cdaa58e1ff8d9a35a72921ffbac7ef (diff)
downloadpetitboot-8b2ccd525b328994d3e62c01092b20859a23e36d.zip
petitboot-8b2ccd525b328994d3e62c01092b20859a23e36d.tar.gz
discover: populate sysinfo with block devices
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'test')
-rw-r--r--test/parser/handler.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/parser/handler.c b/test/parser/handler.c
index 97ae388..68d882b 100644
--- a/test/parser/handler.c
+++ b/test/parser/handler.c
@@ -43,6 +43,14 @@ void discover_server_notify_config(struct discover_server *server,
(void)config;
}
+void system_info_register_blockdev(const char *name, const char *uuid,
+ const char *mountpoint)
+{
+ (void)name;
+ (void)uuid;
+ (void)mountpoint;
+}
+
void parser_init(void)
{
}
OpenPOWER on IntegriCloud