summaryrefslogtreecommitdiffstats
path: root/updater/include/updater/build_info.h
diff options
context:
space:
mode:
Diffstat (limited to 'updater/include/updater/build_info.h')
-rw-r--r--updater/include/updater/build_info.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/updater/include/updater/build_info.h b/updater/include/updater/build_info.h
index a1355e89a..22299579f 100644
--- a/updater/include/updater/build_info.h
+++ b/updater/include/updater/build_info.h
@@ -51,9 +51,18 @@ class BuildInfo {
// Parses the given target-file, initializes the build properties and extracts the images.
bool ParseTargetFile(const std::string_view target_file_path, bool extracted_input);
+ std::string GetOemSettings() const {
+ return oem_settings_;
+ }
+ void SetOemSettings(const std::string_view oem_settings) {
+ oem_settings_ = oem_settings;
+ }
+
private:
// A map to store the system properties during simulation.
std::map<std::string, std::string, std::less<>> build_props_;
+ // A file that contains the oem properties.
+ std::string oem_settings_;
// A map from the blockdev_name to the FakeBlockDevice object, which contains the path to the
// temporary file.
std::map<std::string, FakeBlockDevice, std::less<>> blockdev_map_;