]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: copy file xattrs (if any) as well
authorFrantisek Sumsal <frantisek@sumsal.cz>
Mon, 12 Jun 2023 11:21:11 +0000 (13:21 +0200)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Tue, 13 Jun 2023 08:15:27 +0000 (10:15 +0200)
test/test-functions

index 8baf16d3355470811d51bbb586468c3a3b3ad644..0c20e60ad3d29724076d2f8f9896bbaec044f178 100644 (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