entity-manager: Search sysconfdir for configurations
Make it easier to iteratively develop configurations in-place with a
read-only /usr.
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Change-Id: Id0853b579a61394cb2b6ef0a3858ba01e5cb2893
diff --git a/include/Utils.hpp b/include/Utils.hpp
index 7b50036..eb8b8f1 100644
--- a/include/Utils.hpp
+++ b/include/Utils.hpp
@@ -62,6 +62,9 @@
bool findFiles(const std::filesystem::path& dirPath,
const std::string& matchString,
std::vector<std::filesystem::path>& foundPaths);
+bool findFiles(const std::vector<std::filesystem::path>&& dirPaths,
+ const std::string& matchString,
+ std::vector<std::filesystem::path>& foundPaths);
bool getI2cDevicePaths(
const std::filesystem::path& dirPath,