sdinstall-rpi.sh: replace /media/boot with /media/BOOT references (FAT32)

This commit is contained in:
Silvan Calarco 2013-03-20 14:06:33 +01:00
parent cd28f52cea
commit 6190b41870

View File

@ -52,7 +52,7 @@ echo ,,,-
exit $? exit $?
} }
mkfs.vfat -F 32 -n "boot" $PARTITION1 mkfs.vfat -F 32 -n "BOOT" $PARTITION1
mke2fs -t ext4 -j -L "openmamba" $PARTITION2 mke2fs -t ext4 -j -L "openmamba" $PARTITION2
### SD-Card: install software ### SD-Card: install software
@ -62,11 +62,11 @@ SWHOME=`mktemp -d`
cd $SWHOME cd $SWHOME
git clone git://github.com/raspberrypi/firmware.git --depth=1 git clone git://github.com/raspberrypi/firmware.git --depth=1
BOOTMP=/media/boot BOOTMP=/media/BOOT
ROOTMP=/media/openmamba ROOTMP=/media/openmamba
[ -e /media/boot -o -e /media/openmamba ] && { [ -e $BOOTMP -o -e $ROOTMP ] && {
echo "ERROR: /media/boot or /media/openmamba already exist." echo "ERROR: /media/BOOT or /media/openmamba already exist."
exit 1 exit 1
} }