summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--btrfs-receive-root.sh4
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
45mountpoint=$(realpath -m --relative-base=. "$receive_dest") 45mountpoint=$(realpath -m --relative-base=. "$receive_dest")
46 46
47seed_file=sami/debian-live-8.4.0-amd64-standard.btrfs 47seed_file=sami/debian-live-8.4.0-amd64-standard.btrfs
48layer_file=sami/debian-live-8.4.0-amd64-standard.layer.$receive_subv.btrfs 48layer_file_FINAL=sami/debian-live-8.4.0-amd64-standard.layer.$receive_subv.btrfs
49layer_file=$layer_file_FINAL.part
49layer_size=1000 50layer_size=1000
50 51
51create_layer_filesystem 52create_layer_filesystem
52with_stdout sex btrfs receive "$mountpoint" 53with_stdout sex btrfs receive "$mountpoint"
53finish 54finish
55mv "$layer_file" "$layer_file_FINAL"