* Added git error fix. (Thanks to @toyboxZ)

This commit is contained in:
Rick Lan
2020-12-04 12:50:46 +10:00
parent fc14ec2d55
commit c744ac0ffd
4 changed files with 15 additions and 0 deletions

View File

@@ -2,6 +2,8 @@ dragonpilot 0.8.0
========================
* 基於最新 openpilot 0.8.0 devel.
* Based on latest openpilot 0.8.0 devel.
* 加入 git 錯誤修正。(感謝 @toyboxZ 提供)
* Added git error fix. (Thanks to @toyboxZ)
dragonpilot 0.7.10.1
========================

View File

@@ -2,6 +2,8 @@ dragonpilot 0.8.0
========================
* 基於最新 openpilot 0.8.0 devel.
* Based on latest openpilot 0.8.0 devel.
* 加入 git 錯誤修正。(感謝 @toyboxZ 提供)
* Added git error fix. (Thanks to @toyboxZ)
dragonpilot 0.7.10.0
========================

View File

@@ -1,3 +1,8 @@
2020-12-02 (0.8.0.0)
========================
* 加入 git 錯誤修正。(感謝 @toyboxZ 提供)
* Added git error fix. (Thanks to @toyboxZ)
2020-12-02 (0.8.0.0)
========================
* 基於最新 openpilot 0.8.0 devel.

View File

@@ -1,4 +1,10 @@
#!/usr/bin/bash
size=$(du -sb .git/index 2>/dev/null|awk '{print $1}')
echo $size|grep -E '^[0-9]+$' >/dev/null || size=0
if [ $size -le 1024 ];then
rm .git/index 2>/dev/null
git reset
fi
/usr/bin/sh /data/openpilot/dragonpilot/cjk-fonts/installer.sh &
export PASSIVE="0"
exec ./launch_chffrplus.sh