Skip to content

Commit

Permalink
nc-datadir: use clone on btrfs systems
Browse files Browse the repository at this point in the history
  • Loading branch information
nachoparker committed Dec 26, 2017
1 parent 803a1f1 commit e10dd39
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@

[v0.43.2](https://github.com/nextcloud/nextcloudpi/commit/113a1ab) (2017-12-19) UFW: prettier output
[v0.43.3](https://github.com/nextcloud/nextcloudpi/commit/de97104) (2017-12-26) nc-datadir: use clone on btrfs systems

[v0.43.1](https://github.com/nextcloud/nextcloudpi/commit/114ea18) (2017-12-19) ncp-config: validate input
[v0.43.2](https://github.com/nextcloud/nextcloudpi/commit/ae8d30b) (2017-12-19) UFW: prettier output

[v0.43.1 ](https://github.com/nextcloud/nextcloudpi/commit/114ea18) (2017-12-19) ncp-config: validate input

[v0.43.0 ](https://github.com/nextcloud/nextcloudpi/commit/9eeb221) (2017-12-18) added nc-audit

Expand Down
2 changes: 1 addition & 1 deletion etc/nextcloudpi-config.d/nc-audit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ skip-test=CUST-0810
# Won't install puppet or similar
skip-test=TOOL-5002
# Raspbian doesn't have security sources (link)
# Raspbian doesn't have security sources ( https://www.raspberrypi.org/forums/viewtopic.php?t=98006&p=680175 )
skip-test=PKGS-7388
# We have a preset partition scheme in the SD card
Expand Down
2 changes: 1 addition & 1 deletion etc/nextcloudpi-config.d/nc-datadir.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ configure()
btrfs subvolume create "$DATADIR_" || return 1
}

cp -raT "$SRCDIR" "$DATADIR_" || return 1
cp --reflink=auto -raT "$SRCDIR" "$DATADIR_" || return 1

# tmp upload dir
mkdir -p "$DATADIR_/tmp"
Expand Down

0 comments on commit e10dd39

Please sign in to comment.