mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-10-04 12:05:04 +02:00
only copy boot on raspberryPi
This commit is contained in:
@@ -750,8 +750,10 @@ if [ "$1" = "setup" ]; then
|
|||||||
echo "error='boot partition not mounted'"
|
echo "error='boot partition not mounted'"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
if [ "${computerType}" = "raspberrypi" ]; then
|
||||||
echo "# .. copy boot"
|
echo "# .. copy boot"
|
||||||
rsync -axHAX --delete --info=progress2 ${bootPath} /mnt/disk_boot/ || { echo "error='fail on boot copy'"; exit 1; }
|
rsync -axHAX --delete --info=progress2 ${bootPath} /mnt/disk_boot/ || { echo "error='fail on boot copy'"; exit 1; }
|
||||||
|
fi
|
||||||
|
|
||||||
# copy the system drive
|
# copy the system drive
|
||||||
echo "# .. copy system"
|
echo "# .. copy system"
|
||||||
|
Reference in New Issue
Block a user