Ryan Harper has proposed merging ~raharper/curtin:fix/vmtest-early-rsync-error 
into curtin:master.

Commit message:
vmtest: rsync don't cross filesystem boundaries when copying

In some scenarios /var/lib/lxcfs is mounted with kernel bits
and rsync complains; instead we now copy using the --one-file-system
flag which avoids crossing these boundaries.

LP: #1873909


Requested reviews:
  curtin developers (curtin-dev)
Related bugs:
  Bug #1873909 in curtin: "Recently introduced reuse-lvm-member-partition tests 
fail with rsync errors"
  https://bugs.launchpad.net/curtin/+bug/1873909

For more details, see:
https://code.launchpad.net/~raharper/curtin/+git/curtin/+merge/382705
-- 
Your team curtin developers is requested to review the proposed merge of 
~raharper/curtin:fix/vmtest-early-rsync-error into curtin:master.
diff --git a/examples/tests/reuse-lvm-member-partition.yaml b/examples/tests/reuse-lvm-member-partition.yaml
index 8d025aa..d2f73ba 100644
--- a/examples/tests/reuse-lvm-member-partition.yaml
+++ b/examples/tests/reuse-lvm-member-partition.yaml
@@ -34,7 +34,7 @@ bucket:
     # populate the lv with data to ensure we allocate extents on both pv devs
     mkfs.ext4 /dev/${VG}/${LV}
     mount /dev/${VG}/${LV} /mnt
-    rsync -aqpP /var /mnt
+    rsync -aqpP --one-file-system /var /mnt
     umount /mnt
     # simulate the first boot environment by turning off the vg, and wiping
     # one physical volume
-- 
Mailing list: https://launchpad.net/~curtin-dev
Post to     : curtin-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~curtin-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to