Skip to content

Commit

Permalink
always use reflink=auto
Browse files Browse the repository at this point in the history
  • Loading branch information
Mic92 committed Dec 5, 2024
1 parent b141d39 commit 9b1fef6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/make-disk-image.nix
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ in
[ -e "$src" ] || continue
dst=$(basename "$src" | base64 -d)
mkdir -p "$(dirname "$dst")"
cp -r "$src" "$dst"
cp --reflink=auto -r "$src" "$dst"
done
set -f
${partitioner}
Expand All @@ -207,7 +207,7 @@ in
[ -e "$src" ] || continue
dst=/mnt/$(basename "$src" | base64 -d)
mkdir -p "$(dirname "$dst")"
cp -r "$src" "$dst"
cp --reflink=auto -r "$src" "$dst"
done
${installer}
''}
Expand Down

0 comments on commit 9b1fef6

Please sign in to comment.