Commit e24fb5f
committed
ci: restore /usr/local/bin/python symlink overwritten by runner hook
The self-hosted runner's container startup command runs
`ln -sf /usr/bin/python3 /usr/local/bin/python`, repointing the image's
python3.12 symlink at Debian's PEP-668 externally-managed python3.11.
This breaks /usr/local/bin/rocm-smi (shebang #!/usr/local/bin/python ->
ModuleNotFoundError: rocm_sdk_core) and any later `python ...` call in
the workflow. Restore the symlink to python3.12 as the very first step
so subsequent steps see the image's intended interpreter.
Signed-off-by: Matthias Gehre <matthias.gehre@amd.com>1 parent 83d5d47 commit e24fb5f
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
152 | 160 | | |
153 | 161 | | |
154 | 162 | | |
| |||
0 commit comments