Skip to content

Commit

Permalink
Fixed a bug caused by the non-existence of the fdtget system
Browse files Browse the repository at this point in the history
  • Loading branch information
laityts committed Jul 30, 2022
1 parent a365713 commit 8a8608c
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -240,8 +240,15 @@ jobs:
echo "**************************************"
../../fdtget $i /firmware/android/vbmeta parts 2>/dev/null || true
../../fdtput $i -r /firmware/android/vbmeta
../../fdtput $i /firmware/android/fstab/system status -d
../../fdtput $i /firmware/android/fstab/system fsmgr_flags -d
echo "**************************************"
if [[ ! -z "$(../../fdtget $i /firmware/android/fstab/system -p 2>/dev/null || true)" ]]; then
../../fdtput $i /firmware/android/fstab/system status -d
../../fdtput $i /firmware/android/fstab/system fsmgr_flags -d
else
../../fdtput $i -cp /firmware/android/fstab/system
echo "add system node"
fi
echo "**************************************"
../../fdtput $i /firmware/android/fstab/system status ok -ts
../../fdtput $i /firmware/android/fstab/system fsmgr_flags wait -ts
../../fdtput $i /firmware/android/fstab/system mnt_flags ro,barrier=1,discard -ts
Expand Down

0 comments on commit 8a8608c

Please sign in to comment.