diff options
| author | Christian Breunig <christian@breunig.cc> | 2026-11-05 17:23:59 +0000 |
|---|---|---|
| committer | Christian Breunig <christian@breunig.cc> | 2026-11-05 17:23:59 +0000 |
| commit | 2af969a368d8712f0c084078c6315a6bd81ee00f (patch) | |
| tree | 4930236ab5c6fd0921d8e68792be8739f3bcbf04 /scripts/package-build/linux-kernel | |
| parent | c96465c1d6c39f6803ff7307e104d0f4004cd2dd (diff) | |
| download | vyos-build-2af969a368d8712f0c084078c6315a6bd81ee00f.tar.gz vyos-build-2af969a368d8712f0c084078c6315a6bd81ee00f.zip | |
Kernel: T9577: Intel NIC drivers must honour commit_id from package.toml
The Intel out-of-tree driver build reset each source tree to origin/main
after the pinned commit_id had been checked out. Every driver was built
from whatever was on Intel's main branch, so the pins had no effect and
builds were not reproducible.
The tree is now reset to the checked-out commit, which still drops leftover
patches from a previous run but keeps the pinned release.
Diffstat (limited to 'scripts/package-build/linux-kernel')
| -rwxr-xr-x | scripts/package-build/linux-kernel/build-intel-nic.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/package-build/linux-kernel/build-intel-nic.sh b/scripts/package-build/linux-kernel/build-intel-nic.sh index 540694a3..7d152826 100755 --- a/scripts/package-build/linux-kernel/build-intel-nic.sh +++ b/scripts/package-build/linux-kernel/build-intel-nic.sh @@ -21,8 +21,8 @@ fi DRIVER_NAME=$1 cd ${CWD}/ethernet-linux-${DRIVER_NAME} if [ -d .git ]; then + git reset --hard HEAD git clean --force -d -x - git reset --hard origin/main fi # See https://vyos.dev/T6155 |
