diff options
-rw-r--r-- | btrfs-receive-root.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/btrfs-receive-root.sh b/btrfs-receive-root.sh index 62504bf..3dee813 100644 --- a/btrfs-receive-root.sh +++ b/btrfs-receive-root.sh | |||
@@ -45,9 +45,11 @@ receive_subv=$2 | |||
45 | mountpoint=$(realpath -m --relative-base=. "$receive_dest") | 45 | mountpoint=$(realpath -m --relative-base=. "$receive_dest") |
46 | 46 | ||
47 | seed_file=sami/debian-live-8.4.0-amd64-standard.btrfs | 47 | seed_file=sami/debian-live-8.4.0-amd64-standard.btrfs |
48 | layer_file=sami/debian-live-8.4.0-amd64-standard.layer.$receive_subv.btrfs | 48 | layer_file_FINAL=sami/debian-live-8.4.0-amd64-standard.layer.$receive_subv.btrfs |
49 | layer_file=$layer_file_FINAL.part | ||
49 | layer_size=1000 | 50 | layer_size=1000 |
50 | 51 | ||
51 | create_layer_filesystem | 52 | create_layer_filesystem |
52 | with_stdout sex btrfs receive "$mountpoint" | 53 | with_stdout sex btrfs receive "$mountpoint" |
53 | finish | 54 | finish |
55 | mv "$layer_file" "$layer_file_FINAL" | ||