Commit d904acbe authored by David Zeuthen's avatar David Zeuthen
Browse files

libavb_user: Try /dev/block/by-name before looking at /etc/fstab.

Recent versions of Android have a /dev/block/by-name/ directory with
symlinks to partitions using the partition label. Use this in lieu of
the look-in-fstab-for-misc-device-path kludge currently being used.

Test: All unit tests still pass.
Test: Manually tested on a device without 'misc' entry in fstab.
Bug: None
Change-Id: Ie2225d35128ec335e65296de8d638f15ba978df4
parent 8127dae6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment