Commit cd55d66
committed
fix: rename imx8m bare uboot hook so binman pkg_resources patch can run
`imx8m.conf` defined a bare `pre_config_uboot_target()`. The framework
treats a bare hook as the full implementation and drops any
`pre_config_uboot_target__<purpose>` companions, so #9407's
auto-enabled `uboot-binman-fix-pkg-resources` extension was never
firing on i.MX 8M boards — `tools/binman/control.py`'s
`import pkg_resources` stayed unpatched, and `make flash.bin` died
with `ModuleNotFoundError` on Python 3.12 / setuptools >= 82.
Rename to `pre_config_uboot_target__imx8m_firmware()`. Body unchanged.
Both hooks now register and run; order between them doesn't matter
(NXP firmware fetch vs. Python source rewrite are independent).
Repro: armbian/os run 25262303737, job uboot-mba8mpxl-ras314-current.1 parent f13bc6b commit cd55d66
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
33 | 36 | | |
34 | 37 | | |
35 | 38 | | |
| |||
0 commit comments