test: copy file xattrs (if any) as well

This commit is contained in:
Frantisek Sumsal
2023-06-13 10:15:27 +02:00
parent bdee55672a
commit a6695a431f
+1 -1
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