diff options
author | Geoff Levand <geoff@infradead.org> | 2018-08-02 17:29:40 +0000 |
---|---|---|
committer | Samuel Mendoza-Jonas <sam@mendozajonas.com> | 2018-08-07 11:30:36 +1000 |
commit | c8afffc32546c3cd72d5d229081211b8e9efe9ee (patch) | |
tree | 8b0548c9bfc48ea418c0ad3db5361e60cdf46aa6 /lib/system | |
parent | 77f337931a96c33ff0ba66fb7f05891d520e8132 (diff) | |
download | talos-petitboot-c8afffc32546c3cd72d5d229081211b8e9efe9ee.tar.gz talos-petitboot-c8afffc32546c3cd72d5d229081211b8e9efe9ee.zip |
lib/system: Add dmidecode as system app
For use by the arm64 get_sysinfo.
Signed-off-by: Geoff Levand <geoff@infradead.org>
Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
Diffstat (limited to 'lib/system')
-rw-r--r-- | lib/system/system.c | 1 | ||||
-rw-r--r-- | lib/system/system.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/system/system.c b/lib/system/system.c index df27c87..89790ba 100644 --- a/lib/system/system.c +++ b/lib/system/system.c @@ -35,6 +35,7 @@ const struct pb_system_apps pb_system_apps = { .pb_exec = HOST_PROG_PB_EXEC, .sh = HOST_PROG_SH, .scsi_rescan = HOST_PROG_SCSI_RESCAN, + .dmidecode = HOST_PROG_DMIDECODE, }; #ifndef TFTP_TYPE diff --git a/lib/system/system.h b/lib/system/system.h index e3e8a30..2389951 100644 --- a/lib/system/system.h +++ b/lib/system/system.h @@ -20,6 +20,7 @@ struct pb_system_apps { const char *pb_exec; const char *sh; const char *scsi_rescan; + const char *dmidecode; }; extern const struct pb_system_apps pb_system_apps; |