[Git][pacman/pacman][master] 4 commits: libmakepkg: strip - add "safe_" prefix to stripping functions
Allan McRae pushed to branch master at Pacman / Pacman Commits: 0c136ecc by Allan McRae at 2024-12-28T13:54:27+00:00 libmakepkg: strip - add "safe_" prefix to stripping functions Add a "safe_" prefix to strip_file() and strip_lto() to indicate that these functions are taking extra steps to ensure permissions remain unchanged. Signed-off-by: Allan McRae <allan@archlinux.org> - - - - - dbde37aa by Vasiliy Stelmachenok at 2024-12-28T13:54:27+00:00 libmakepkg: strip - split handling of hardlinks Handle singly and muptiply hard-linked files separately. Also collect information on hard linked files to avoid searching the entire package to check for hard links. Signed-off-by: Allan McRae <allan@archlinux.org> - - - - - 02b35b91 by Vasiliy Stelmachenok at 2024-12-28T13:54:27+00:00 libmakepkg: strip - parallelize stripping of files Perform file stripping in parallel where possible. Hardlinks remain processed one at a time due to reproducibility issues. Signed-off-by: Allan McRae <allan@archlinux.org> - - - - - 5f4c7e3d by Allan McRae at 2024-12-28T13:54:27+00:00 libmakepkg: strip - disguard error messages when copying source files Parallel processing of file stripping is causing a TOC/TOU race when copying source files into the debug location resulting in error messages from cp. While hiding this error is not the ideal solution, it is currently the only one we have. Given this is a error of our own making, and we understand the cause and have determined there is zero actual downside to ignoring the error, we will accept this approach until something better is found. Signed-off-by: Allan McRae <allan@archlinux.org> - - - - - 2 changed files: - scripts/libmakepkg/tidy/strip.sh.in - scripts/makepkg.sh.in View it on GitLab: https://gitlab.archlinux.org/pacman/pacman/-/compare/5e2a763e4a9f25fa4cdc585... -- View it on GitLab: https://gitlab.archlinux.org/pacman/pacman/-/compare/5e2a763e4a9f25fa4cdc585... You're receiving this email because of your account on gitlab.archlinux.org.
participants (1)
-
Allan McRae (@allan)