Skip to content

Commit cbf6623

Browse files
committed
image: include dmar-report if mbist feature enabled
1 parent bfffbce commit cbf6623

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

config/projects.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,3 +88,9 @@ use_ssh = true
8888
cargo_build = true
8989
auto_update = true
9090
unless_env = "OXIDE_STAFF"
91+
92+
[project.dmar-report]
93+
github = "oxidecomputer/dmar-report"
94+
use_ssh = true
95+
cargo_build = true
96+
auto_update = true

image/templates/sled/ramdisk-01-os.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,10 @@
110110
"/driver/network/opte@${optever}"
111111
] },
112112

113+
{ "t": "pkg_install", "with": "mbist", "pkgs": [
114+
"/driver/developer/amd/zen"
115+
] },
116+
113117
{ "t": "pkg_install", "with": "mfg", "pkgs": [
114118
"/driver/developer/amd/zen",
115119
"/driver/cpu/amd/psp",

image/templates/sled/zfs.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,11 @@
7878
"owner": "root", "group": "bin", "mode": "0755" },
7979
{ "t": "include", "without": "no-pilot", "name": "compliance-common" },
8080

81+
{ "t": "ensure_file", "with": "mbist",
82+
"file": "/usr/bin/dmar-report",
83+
"extsrc": "dmar-report/target/release/dmar-report",
84+
"owner": "root", "group": "bin", "mode": "0755" },
85+
8186
{ "t": "include", "with": "genproto",
8287
"name": "genproto", "file": "${genproto}" },
8388

0 commit comments

Comments
 (0)