bcm2835-bootloader: dont use /dev/shm, this fixes #1544

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2012-12-02 23:45:53 +01:00
parent 12456b321c
commit f53aff9cd5

View File

@ -221,17 +221,10 @@ echo "#########################################################"
# mount partition
echo "mounting partition $PART1 ..."
if [ -d /dev/shm ]; then
rm -rf /dev/shm/openelec_install
mkdir -p /dev/shm/openelec_install
mount -t vfat "$PART1" /dev/shm/openelec_install
MOUNTPOINT=/dev/shm/openelec_install
else
rm -rf /tmp/openelec_install
mkdir -p /tmp/openelec_install
mount -t vfat "$PART1" /tmp/openelec_install
MOUNTPOINT=/tmp/openelec_install
fi
rm -rf /tmp/openelec_install
mkdir -p /tmp/openelec_install
mount -t vfat "$PART1" /tmp/openelec_install
MOUNTPOINT=/tmp/openelec_install
# create bootloader configuration
echo "creating bootloader configuration..."