summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2018-06-22 03:21:54 (GMT)
committerWaldemar Brodkorb <wbx@openadk.org>2018-06-22 03:21:54 (GMT)
commitbeb4754cacbdf812605cf5de9f0fe1dcd0143662 (patch)
tree2cdb687ae0dc6be6cc6afd846581873f0372906b
parent54aa43deede441dbd28337b81dc526ab697898a6 (diff)
use right device name for /data
-rwxr-xr-xscripts/install.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/install.sh b/scripts/install.sh
index 2ecb44b..5f929b2 100755
--- a/scripts/install.sh
+++ b/scripts/install.sh
@@ -578,9 +578,12 @@ if (( datafssz )); then
(raspberry-pi|raspberry-pi0|raspberry-pi2|raspberry-pi3|raspberry-pi3-64|raspberry-pi3p|raspberry-pi3p-64|phytec-wega)
echo "/dev/mmcblk0p3 /data ext4 rw 0 0" >> "$R"/etc/fstab
;;
- (banana-pro|orange-pi0|solidrun-imx6|solidrun-clearfog)
+ (banana-pro|orange-pi0|solidrun-clearfog)
echo "/dev/mmcblk0p2 /data ext4 rw 0 0" >> "$R"/etc/fstab
;;
+ (solidrun-imx6)
+ echo "/dev/mmcblk1p2 /data ext4 rw 0 0" >> "$R"/etc/fstab
+ ;;
}
if [[ -d $datapartcontent ]]; then
mount_fs "$datapart" "$D" ext4