recovery zip: support twrp.fstab filename in addition to recovery.fstab (fix for compatibility with TWRP on sony-yuga)
Fixes #1636 (closed)
Fixes a broken error message (instead of checking for code 255 just check for any error code).
TWRP 3.2.0 uses "twrp.fstab" instead of "recovery.fstab", this fix makes pmbootstrap support both.
Tested on samsung-kminilte with TWRP 3.2.3(twrp.fstab) and 3.1.1(recovery.fstab). I verified the files are actually named that way in /etc for both versions.
Merge request reports
Activity
Note that the TWRP change this MR fixes, isn't specific for 3.2.0 but I guess more for the specific device. At Akademy we flashed postmarketOS through TWRP 3.2.1 on a Nexus 5, and it worked without this MR without any issues.
I don't think it matters much and we should probably still want this change, but maybe the naming is a bit wrong.
By Bart Ribbers on 2018-08-14T09:16:13
added 1 commit
- 4f13c641 - Change comment wording to be more accurate
By Martin on 2018-08-14T09:50:27
- Resolved by Administrator
- Resolved by Administrator
added 1 commit
- 71a44aa2 - Support devices with fstab named twrp.fstab instead of recovery.fstab
By Martin on 2018-08-16T13:26:18
mentioned in issue #1612 (closed)
By Oliver Smith on 2018-08-16T20:43:02
added 17 commits
-
71a44aa2...86bc0cf5 - 13 commits from branch
postmarketOS:master
- 644c04f9 - Support TWRP 3.2.0+
- 871cd626 - Change comment wording to be more accurate
- 342275f1 - Fix indentation
- 17f360d0 - Support devices with fstab named twrp.fstab instead of recovery.fstab
By Oliver Smith on 2018-08-16T21:16:36
Toggle commit list-
71a44aa2...86bc0cf5 - 13 commits from branch
enabled an automatic merge when the pipeline for 17f360d0 succeeds
By Oliver Smith on 2018-08-16T21:19:19
mentioned in issue #1634 (closed)
By Oliver Smith on 2018-08-23T00:30:05