bmc: cleanup verification language and symbols
Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: Ife4d7e519e44aff60441c5909346ca6d7e2aa090
diff --git a/bmc/buildjson.cpp b/bmc/buildjson.cpp
index e4d1d54..0fd40ef 100644
--- a/bmc/buildjson.cpp
+++ b/bmc/buildjson.cpp
@@ -17,9 +17,9 @@
#include "file_handler.hpp"
#include "fs.hpp"
+#include "general_systemd.hpp"
#include "prepare_systemd.hpp"
#include "update_systemd.hpp"
-#include "verify_systemd.hpp"
#include <algorithm>
#include <cstdio>
@@ -100,8 +100,9 @@
systemdMode = verify.at("mode").get<std::string>();
}
- pack->verification = SystemdWithStatusFile::CreateVerification(
- sdbusplus::bus::new_default(), path, unit, systemdMode);
+ pack->verification =
+ SystemdWithStatusFile::CreateSystemdWithStatusFile(
+ sdbusplus::bus::new_default(), path, unit, systemdMode);
}
else
{
@@ -131,8 +132,9 @@
systemdMode = update.at("mode").get<std::string>();
}
- pack->update = SystemdWithStatusFile::CreateVerification(
- sdbusplus::bus::new_default(), path, unit, systemdMode);
+ pack->update =
+ SystemdWithStatusFile::CreateSystemdWithStatusFile(
+ sdbusplus::bus::new_default(), path, unit, systemdMode);
}
else if (updateType == "systemd")
{