test: copy file xattrs (if any) as well

This commit is contained in:
Frantisek Sumsal 2023-06-12 13:21:11 +02:00
parent bdee55672a
commit a6695a431f

View file

@ -2590,7 +2590,7 @@ inst_simple() {
inst "${src%/*}/.${src##*/}.hmac" "${target%/*}/.${target##*/}.hmac"
fi
ddebug "Installing $src"
cp --sparse=always -pfL "$src" "${initdir}/$target"
cp --sparse=always --force --dereference --preserve=all "$src" "${initdir}/$target"
}
# find symlinks linked to given library file