summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2018-06-22 05:21:54 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2018-06-22 05:21:54 +0200
commitbeb4754cacbdf812605cf5de9f0fe1dcd0143662 (patch)
tree2cdb687ae0dc6be6cc6afd846581873f0372906b /scripts
parent54aa43deede441dbd28337b81dc526ab697898a6 (diff)
use right device name for /data
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/install.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/install.sh b/scripts/install.sh
index 2ecb44b11..5f929b26a 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