mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
bcm2835-bootloader: dont use /dev/shm, this fixes #1544
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
@@ -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..."
|
||||
|
||||
Reference in New Issue
Block a user