sdinstall-rpi.sh: replace /media/boot with /media/BOOT references (FAT32)
This commit is contained in:
parent
cd28f52cea
commit
6190b41870
@ -52,7 +52,7 @@ echo ,,,-
|
||||
exit $?
|
||||
}
|
||||
|
||||
mkfs.vfat -F 32 -n "boot" $PARTITION1
|
||||
mkfs.vfat -F 32 -n "BOOT" $PARTITION1
|
||||
mke2fs -t ext4 -j -L "openmamba" $PARTITION2
|
||||
|
||||
### SD-Card: install software
|
||||
@ -62,11 +62,11 @@ SWHOME=`mktemp -d`
|
||||
cd $SWHOME
|
||||
git clone git://github.com/raspberrypi/firmware.git --depth=1
|
||||
|
||||
BOOTMP=/media/boot
|
||||
BOOTMP=/media/BOOT
|
||||
ROOTMP=/media/openmamba
|
||||
|
||||
[ -e /media/boot -o -e /media/openmamba ] && {
|
||||
echo "ERROR: /media/boot or /media/openmamba already exist."
|
||||
[ -e $BOOTMP -o -e $ROOTMP ] && {
|
||||
echo "ERROR: /media/BOOT or /media/openmamba already exist."
|
||||
exit 1
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user