• LoveSy's avatar
    Further fix `oplus.fstab` support · a7c156a9
    LoveSy authored
    * Further fix `oplus.fstab` support
    
    In some oneplus devices, `oplus.fstab` does exists but `init` never
    loaded it and those entries in `oplus.fstab` are written directly to
    `fstab.qcom`. Previous implementation will introduce duplicate entries
    to `fstab.qcom` and brick the device. This commit filters those entries
    from `oplus.fstab` that are already in `fstab.qcom` and further filters
    duplicated entries in `oplus.fstab` (keep only the last entry).
    
    Fix #5016
    
    * Fix UB
    
    Since we moved entry, we need to explicitly copy its member.
    For c++23 we can use `auto{}`.
    a7c156a9
Name
Last commit
Last update
.github Loading commit data...
app Loading commit data...
buildSrc Loading commit data...
docs Loading commit data...
gradle/wrapper Loading commit data...
native Loading commit data...
scripts Loading commit data...
stub Loading commit data...
tools Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
LICENSE Loading commit data...
README.MD Loading commit data...
build.gradle.kts Loading commit data...
build.py Loading commit data...
config.prop.sample Loading commit data...
gradle.properties Loading commit data...
gradlew Loading commit data...
gradlew.bat Loading commit data...
settings.gradle.kts Loading commit data...