From 6190b418700e90941580f3034cdd3799e6e26818 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Wed, 20 Mar 2013 14:06:33 +0100 Subject: [PATCH] sdinstall-rpi.sh: replace /media/boot with /media/BOOT references (FAT32) --- src/sdinstall-rpi.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/sdinstall-rpi.sh b/src/sdinstall-rpi.sh index bdf1247..b669948 100755 --- a/src/sdinstall-rpi.sh +++ b/src/sdinstall-rpi.sh @@ -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 }