`build.py` checks out each Intel driver at the `commit_id` set in `scripts/package-build/linux-kernel/package.toml`. `build-intel-nic.sh` then runs `git reset --hard origin/main`, which throws that checkout away. As a result, every Intel driver (igb, ixgbe, ixgbevf, i40e, iavf, ice) is built from whatever is on Intel's main at build time instead of the pinned release.
Builds can't be reproduced, and the pins have no effect.
Observed on `circinus` branch (after 1.5.1 release, before 1.5.2):
| Driver | Pinned | In image |
| ixgbe | v6.4.5 | 6.5.9 |
|ixgbevf | v5.2.2 | 5.3.87 |
| i40e | v2.28.16 | 2.30.83 |
| iavf | v4.13.20 | 4.13.78 |
| ice | v2.6.7 | 2.7.6 |
Fix: reset to HEAD (the pinned commit) instead of origin/main. Needs a backport to Circinus.
Note: driver versions may go down compared with the current images unless the pins are bumped, which happens in this task, too to keep the current state but make it reproducible.