浏览代码

use right device name for /data

Waldemar Brodkorb 6 年之前
父节点
当前提交
beb4754cac
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. 4 1
      scripts/install.sh

+ 4 - 1
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