summaryrefslogtreecommitdiff
path: root/init/builtins.cpp
diff options
context:
space:
mode:
authorDavid Anderson <dvander@google.com>2019-08-20 16:31:46 -0700
committerDavid Anderson <dvander@google.com>2019-08-21 12:27:56 -0700
commit251ec05f017fb81628dd1995fb587913063702e4 (patch)
tree5f00674cc5ca6e4cc4c0752b61580c3ba96b1f3b /init/builtins.cpp
parent370226e6622cec88c3cdcb18d3fd3ac663340ec8 (diff)
liblp: Support sdcards in PartitionOpener.
Before ImageManager was introduced, gsid avoided using PartitionOpener when writing to external media. PartitionOpener couldn't interact with non-boot devices, because it prepends /dev/block/by-name. We hacked around this in both gsid and in first-stage init, which manually detects the problem and prepends /dev/block instead. After the ImageManager refactoring, sdcard support broke in gsid, because it started relying on PartitionOpener. Let's fix this by allowing /dev/block for mmcblk* names in PartitionOpener. Bug: 139204329 Test: fiemap_image_test gtest Change-Id: Ic1cbdbe0a18fc09522ee38cc62b35fd8193ce250
Diffstat (limited to 'init/builtins.cpp')
0 files changed, 0 insertions, 0 deletions