Merge "initramfs-ostree: avoid using -z when rsync files locally"

This commit is contained in:
Zuul 2023-04-27 16:31:52 +00:00 committed by Gerrit Code Review
commit 85db94b0b2

View File

@ -31,7 +31,7 @@ index 0e5b8f3..ffc68a5 100644
if [ -e /instboot${INSTL#/sysroot/boot/efi} ] ; then
- lpull="--url file:///instboot${INSTL#/sysroot/boot/efi}"
+ instl_name=$(basename ${INSTL#/sysroot/boot/efi})
+ cmd="rsync -azr /instboot/${instl_name} /"
+ cmd="rsync -ar /instboot/${instl_name} /"
+ lpull="--url file:///${instl_name}"
+ echo "The following rsync command can take a while, please be patient"
+ echo running: $cmd