From f53aff9cd59b78f4734fb1a04ca17ffb580a3851 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Sun, 2 Dec 2012 23:45:53 +0100 Subject: [PATCH] bcm2835-bootloader: dont use /dev/shm, this fixes #1544 Signed-off-by: Stephan Raue --- .../tools/bcm2835-bootloader/files/create_sdcard | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/packages/tools/bcm2835-bootloader/files/create_sdcard b/packages/tools/bcm2835-bootloader/files/create_sdcard index 81a72ac9ae..94497d1f62 100755 --- a/packages/tools/bcm2835-bootloader/files/create_sdcard +++ b/packages/tools/bcm2835-bootloader/files/create_sdcard @@ -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..."