From 2af969a368d8712f0c084078c6315a6bd81ee00f Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Thu, 5 Nov 2026 17:23:59 +0000 Subject: 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. --- scripts/package-build/linux-kernel/build-intel-nic.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') 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 -- cgit v1.2.3