summaryrefslogtreecommitdiff
path: root/libs/jpegrecoverymap/jpegencoderhelper.cpp
diff options
context:
space:
mode:
author Martin Stjernholm <mast@google.com> 2023-02-28 19:10:11 +0000
committer Martin Stjernholm <mast@google.com> 2023-03-07 11:12:41 +0000
commitf21cb6e6f2ad6582229b9a39844fad4cfe024399 (patch)
tree2be2c2a8087a216f0018c44d74370c4cd0ec84af /libs/jpegrecoverymap/jpegencoderhelper.cpp
parent5c6bf39949f5f9b94297f52354bc863320bf1dd9 (diff)
Try erofs when mounting OTA partitions.
We don't know which filesystem type the partitions may have, but currently only ext4 and erofs are in use. A more generic approach would be to use libext2_blkid or the blkid binary to find the filesystem type from the block device itself, since update_engine doesn't divulge this information. However this is good enough for now. Test: m dist system/update_engine/scripts/update_device.py out/dist/cf_x86_64_phone-ota-eng.*.zip on a Cuttlefish device, and check logcat that ext4 mounts fails but erofs ones work. Bug: 270940551 Bug: 202022157 Change-Id: I77b9472418d7996695c2b28b20d43711d5c4d771
Diffstat (limited to 'libs/jpegrecoverymap/jpegencoderhelper.cpp')
0 files changed, 0 insertions, 0 deletions