not rsync /boot when copying root partition (#4859)

This commit is contained in:
Jianfeng Liu 2023-02-24 23:43:32 +08:00 committed by GitHub
parent ec807c7b30
commit fdcabaad3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,7 +20,7 @@ function create_image_from_sdcard_rootfs() {
if [[ $ROOTFS_TYPE != nfs ]]; then
display_alert "Copying files via rsync to" "/ (MOUNT root)"
run_host_command_logged rsync -aHWXh \
--exclude="/boot/*" \
--exclude="/boot" \
--exclude="/dev/*" \
--exclude="/proc/*" \
--exclude="/run/*" \