|
|
@ -72,6 +72,7 @@ public: |
|
|
|
std::map<std::string, std::string> ret = { |
|
|
|
std::map<std::string, std::string> ret = { |
|
|
|
{"/BUILD", util::read_file("/BUILD")}, |
|
|
|
{"/BUILD", util::read_file("/BUILD")}, |
|
|
|
{"lsblk", util::check_output("lsblk -o NAME,SIZE,STATE,VENDOR,MODEL,REV,SERIAL")}, |
|
|
|
{"lsblk", util::check_output("lsblk -o NAME,SIZE,STATE,VENDOR,MODEL,REV,SERIAL")}, |
|
|
|
|
|
|
|
{"SOM ID", util::read_file("/sys/devices/platform/vendor/vendor:gpio-som-id/som_id")}, |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
std::string bs = util::check_output("abctl --boot_slot"); |
|
|
|
std::string bs = util::check_output("abctl --boot_slot"); |
|
|
|