diff options
author | 2018-05-31 20:47:33 +0000 | |
---|---|---|
committer | 2018-05-31 20:47:33 +0000 | |
commit | 88d73c02865a0912efaad3af78d0d77fc0fbb032 (patch) | |
tree | 460f5785fb0aa964297094d85f4f230f00fe7dc3 | |
parent | 14906cd8e9e627c9ab8f3e9ad549812f41ffa630 (diff) | |
parent | 19d2d08bfbc3840a93762011d6a2763bd37be05a (diff) |
Merge "Otadexopt: removing bootdevice from /dev/block/bootdevice/by-name/*"
-rw-r--r-- | cmds/installd/otapreopt_chroot.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmds/installd/otapreopt_chroot.cpp b/cmds/installd/otapreopt_chroot.cpp index 3ae56dba65..e90cf3bab2 100644 --- a/cmds/installd/otapreopt_chroot.cpp +++ b/cmds/installd/otapreopt_chroot.cpp @@ -115,7 +115,7 @@ static int otapreopt_chroot(const int argc, char **arg) { exit(207); } { - std::string vendor_partition = StringPrintf("/dev/block/bootdevice/by-name/vendor%s", + std::string vendor_partition = StringPrintf("/dev/block/by-name/vendor%s", arg[2]); int vendor_result = mount(vendor_partition.c_str(), "/postinstall/vendor", @@ -128,7 +128,7 @@ static int otapreopt_chroot(const int argc, char **arg) { // Try to mount the product partition. update_engine doesn't do this for us, but we // want it for product APKs. Same notes as vendor above. { - std::string product_partition = StringPrintf("/dev/block/bootdevice/by-name/product%s", + std::string product_partition = StringPrintf("/dev/block/by-name/product%s", arg[2]); int product_result = mount(product_partition.c_str(), "/postinstall/product", |