commit | 29f35bce73544eb01ea87ee13441036ee858061b | [log] [tgz] |
---|---|---|
author | William A. Kennington III <wak@google.com> | Tue Nov 03 23:30:31 2020 -0800 |
committer | William A. Kennington III <wak@google.com> | Wed Nov 04 02:40:06 2020 -0800 |
tree | 4d89a4dae00a456ac31e028be7d4745b9efa603d | |
parent | 6d50744c312592135c45d06c8177863eefdef4a3 [diff] [blame] |
Add suppport for retrieving machine name This adds support for reading /etc/os-release, parsing out OPENBMC_TARGET_MACHINE and returning this to the caller. Change-Id: If2a419b9a77597686f5137efce97b1150142f181 Signed-off-by: William A. Kennington III <wak@google.com>
diff --git a/Makefile.am b/Makefile.am index 43f65aa..34e60bd 100644 --- a/Makefile.am +++ b/Makefile.am
@@ -47,6 +47,7 @@ psu.cpp \ pcie_i2c.cpp \ entity_name.cpp \ + machine_name.cpp \ handler.cpp \ util.cpp \ ipmi.cpp