mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-21 06:07:47 +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'"
|
||||
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"
|
||||
|
Reference in New Issue
Block a user