Skip to contentSkip to conversation

Revert "kheaders: Ignore silly-rename files"

PATCH New Masahiro Yamada 1 participant 1 message Mar 2, 2025 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Revert "kheaders: Ignore silly-rename files"

This reverts commit 973b710b8821c3401ad7a25360c89e94b26884ac.

As I mentioned in the review [1], I do not believe this was the correct fix.

Commit 41a00051283e ("kheaders: prevent find from seeing perl temp files") addressed the root cause of the issue. I asked David to test it but received no response.

Commit 973b710b8821 ("kheaders: Ignore silly-rename files") merely worked around the issue by excluding such files, rather than preventing their creation.

[1]: https://lore.kernel.org/lkml/CAK7LNAQndCMudAtVRAbfSfnV+XhSMDcnP-s1_GAQh8UiEdLBSg@mail.gmail.com/

---

 kernel/gen_kheaders.sh | 1 -
 1 file changed, 1 deletion(-)
kernel/gen_kheaders.sh +0 -1
index 00529c81cc40..c9e5dc068e85 100755
@@ -89,7 +89,6 @@ rm -f "${tmpdir}.contents.txt"
 
 # Create archive and try to normalize metadata for reproducibility.
 tar "${KBUILD_BUILD_TIMESTAMP:+--mtime=$KBUILD_BUILD_TIMESTAMP}" \
-    --exclude=".__afs*" --exclude=".nfs*" \
     --owner=0 --group=0 --sort=name --numeric-owner --mode=u=rw,go=r,a+X \
     -I $XZ -cf $tarfile -C "${tmpdir}/" . > /dev/null
 
Signature · 1 line
2.43.0