You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: don't symlink buildkit-cni documentation files to bin/
The nerdctl-full tarball was incorrectly creating symlinks for all
files in libexec/cni/, including documentation files like README.md
and LICENSE. This resulted in non-executable files appearing in bin/
as buildkit-cni-README.md and buildkit-cni-LICENSE.
Add executable and regular file checks to the symlink creation loop
to filter out non-executable files. The fix uses [ -x "$f" ] to check
for execute permission and [ -f "$f" ] to ensure it's a regular file,
so only actual CNI plugin binaries are symlinked.
Tested: bin/ file count reduced from 46 to 44 files (removed 2 doc
symlinks). All 18 CNI plugin executables still correctly symlinked.
Fixes#4553
Signed-off-by: Sadique Azmi <[email protected]>
0 commit comments