From a1fc0e5304a30cc3499f76a3399a10163dfca223 Mon Sep 17 00:00:00 2001 From: rootzoll Date: Wed, 15 Jan 2025 16:51:09 +0100 Subject: [PATCH] only copy boot on raspberryPi --- home.admin/config.scripts/blitz.data.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/home.admin/config.scripts/blitz.data.sh b/home.admin/config.scripts/blitz.data.sh index cdeb11346..c4ef2e8ee 100644 --- a/home.admin/config.scripts/blitz.data.sh +++ b/home.admin/config.scripts/blitz.data.sh @@ -750,8 +750,10 @@ if [ "$1" = "setup" ]; then echo "error='boot partition not mounted'" exit 1 fi - echo "# .. copy boot" - rsync -axHAX --delete --info=progress2 ${bootPath} /mnt/disk_boot/ || { echo "error='fail on boot copy'"; exit 1; } + if [ "${computerType}" = "raspberrypi" ]; then + echo "# .. copy boot" + rsync -axHAX --delete --info=progress2 ${bootPath} /mnt/disk_boot/ || { echo "error='fail on boot copy'"; exit 1; } + fi # copy the system drive echo "# .. copy system"