Loading cmds/installd/otapreopt_chroot.cpp +2 −2 Original line number Original line Diff line number Diff line Loading @@ -115,7 +115,7 @@ static int otapreopt_chroot(const int argc, char **arg) { exit(207); 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]); arg[2]); int vendor_result = mount(vendor_partition.c_str(), int vendor_result = mount(vendor_partition.c_str(), "/postinstall/vendor", "/postinstall/vendor", Loading @@ -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 // 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. // 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]); arg[2]); int product_result = mount(product_partition.c_str(), int product_result = mount(product_partition.c_str(), "/postinstall/product", "/postinstall/product", Loading Loading
cmds/installd/otapreopt_chroot.cpp +2 −2 Original line number Original line Diff line number Diff line Loading @@ -115,7 +115,7 @@ static int otapreopt_chroot(const int argc, char **arg) { exit(207); 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]); arg[2]); int vendor_result = mount(vendor_partition.c_str(), int vendor_result = mount(vendor_partition.c_str(), "/postinstall/vendor", "/postinstall/vendor", Loading @@ -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 // 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. // 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]); arg[2]); int product_result = mount(product_partition.c_str(), int product_result = mount(product_partition.c_str(), "/postinstall/product", "/postinstall/product", Loading