Commit 80da032
Don't run step on LF OpenBMC
Summary: See T250939868 for context, step is currently not compatible with LF OpenBMC as we don't ensure mountpoints targeted at the SPI flash are unmounted as we do with Meta OpenBMC releases
Test Plan:
Unit tests, run step in a ventura unit, ensure it gets skipped (thanks cjcon90): P2114946883
Deploy flashy to a test morgan800cc device:
```
~/fbcode/openbmc/openbmc/tools/flashy$ scripts/run_flashy_remote.sh --device mtd:flash0 --imagepath $( (cd $(mktemp -d) && fbpkg fetch openbmc.image.morgan800cc && readlink -f flash-morgan800cc) ) --host fboss329013173-oob.ash7 --dry-run
```
Run step, ensure it runs as expected:
```
root@fboss329013173-oob:~# /run/flashy/checks_and_remediations/common/91_expose_real_flash0_on_secondary_boot_g6 --device mtd:flash0 --ima
gepath /dev/null
2026/01/12 03:02:22 Not starting PetWatchdogLoop; BMC Lite
2026/01/12 03:02:22 Starting: checks_and_remediations/common/91_expose_real_flash0_on_secondary_boot_g6
2026/01/12 03:02:23 WDT2 second boot code flag @ 0x1e620064 not active (current value = 0x0), skipping step
2026/01/12 03:02:23 Finished: checks_and_remediations/common/91_expose_real_flash0_on_secondary_boot_g6
```
Reviewed By: cjcon90
Differential Revision: D90387321
fbshipit-source-id: 96d6de69b95e06bf0eca79d7fedb211433c83a9f1 parent c031067 commit 80da032
File tree
2 files changed
+33
-0
lines changed- tools/flashy/checks_and_remediations/common
2 files changed
+33
-0
lines changedLines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
53 | 59 | | |
54 | 60 | | |
55 | 61 | | |
| |||
Lines changed: 27 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
157 | 184 | | |
158 | 185 | | |
159 | 186 | | |
| |||
0 commit comments