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/*" \