singularity-tools: don't preserve store content ownership

Don't preserve store content ownership to prepare for unprivileged-build
workflow.
This commit is contained in:
Yueh-Shun Li 2024-08-11 11:56:20 +08:00
parent c229d14f50
commit c2eb0aa56e

View File

@ -118,7 +118,7 @@ lib.makeExtensible (final: {
mkdir -p bin ./${builtins.storeDir}
# Loop over the line-separated paths in $layerClosure
while IFS= read -r f; do
cp -ar "$f" "./$f"
cp -r "$f" "./$f"
done < "$layerClosure"
# TODO(@ShamrockLee):