Fix rsync command to exclude target directory to prevent copying into itself
- Added dynamic exclude for target directory in rsync command
- Uses f'--exclude={target_mount}' to exclude the target mount point
- This prevents rsync from trying to copy the target directory into itself
- Matches the behavior of the original auto-installer.sh script
- Ensures clean system copy without recursive target directory issues
This resolves potential issues where rsync might attempt to copy
the target directory into itself during the system copy process.
Showing
Please
register
or
sign in
to comment