mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-27 12:06:36 +02:00
remove debug
This commit is contained in:
@@ -712,14 +712,20 @@ if [ "$1" = "setup" ]; then
|
|||||||
parted /dev/${setupDevice} --script set 1 boot on
|
parted /dev/${setupDevice} --script set 1 boot on
|
||||||
parted /dev/${setupDevice} --script set 1 esp on
|
parted /dev/${setupDevice} --script set 1 esp on
|
||||||
isFlagSetBOOT=$(parted /dev/${setupDevice} --script print | grep -c 'fat32.*boot')
|
isFlagSetBOOT=$(parted /dev/${setupDevice} --script print | grep -c 'fat32.*boot')
|
||||||
|
if [ ${isFlagSetBOOT} -eq 0 ]; then
|
||||||
|
echo "error='failed to set BOOT flag'"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
isFlagSetESP=$(parted /dev/${setupDevice} --script print | grep -c 'fat32.*esp')
|
isFlagSetESP=$(parted /dev/${setupDevice} --script print | grep -c 'fat32.*esp')
|
||||||
|
if [ ${isFlagSetESP} -eq 0 ]; then
|
||||||
|
echo "error='failed to set ESP flag'"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
echo "# skipping: Bootable"
|
echo "# skipping: Bootable"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
exit 1
|
|
||||||
|
|
||||||
##########################
|
##########################
|
||||||
# COPY SYSTEM
|
# COPY SYSTEM
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user