Allow the use of setuid binaries

This also changes checksum of util-linux.
This commit is contained in:
fosslinux 2024-01-27 11:20:41 +11:00
parent bfd951ae51
commit 75772adb91
3 changed files with 5 additions and 5 deletions

View file

@ -417,7 +417,7 @@ src_pkg() {
# So this does not need a command -v grep.
if tar --help | grep ' \-\-sort' >/dev/null 2>&1; then
tar -C "${DESTDIR}" --sort=name --hard-dereference \
--numeric-owner --owner=0 --group=0 --mode=go=rX,u+rw,a-s -cf "${dest_tar}" .
--numeric-owner --owner=0 --group=0 --mode=go=rX,u+rw -cf "${dest_tar}" .
else
local olddir
olddir=$PWD
@ -432,7 +432,7 @@ src_pkg() {
get_files . > ${filelist}
fi
tar --no-recursion ${null} --files-from "${filelist}" \
--numeric-owner --owner=0 --group=0 --mode=go=rX,u+rw,a-s -cf "${dest_tar}"
--numeric-owner --owner=0 --group=0 --mode=go=rX,u+rw -cf "${dest_tar}"
rm -f "$filelist"
cd "$olddir"
fi