From fdcabaad3fee73c9fa6326b99c654eb57c656d5a Mon Sep 17 00:00:00 2001 From: Jianfeng Liu Date: Fri, 24 Feb 2023 23:43:32 +0800 Subject: [PATCH] not rsync /boot when copying root partition (#4859) --- lib/functions/image/rootfs-to-image.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/functions/image/rootfs-to-image.sh b/lib/functions/image/rootfs-to-image.sh index 57a67304e8..12a4e5498c 100644 --- a/lib/functions/image/rootfs-to-image.sh +++ b/lib/functions/image/rootfs-to-image.sh @@ -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/*" \