repack: move sbin to /system ramdisk and update repacking
for android-10 This will support updating the ramdisk to a different compression format and co-exist with magisk. We are also cleaning up and removing non android-10 api makefile actions. We are also moving twrp repacking to its own class. We check the new ramdisk format and if it's different we have magisk compress using the new ramdisk format. Change-Id: I770030aae7797e75817178b2f0fccd9f39dc23af
This commit is contained in:
@@ -211,7 +211,7 @@ abupdate_binary_command(const char* path, ZipWrap* zip, int retry_count __unused
|
||||
}
|
||||
long payload_offset = zip->GetEntryOffset(AB_OTA_PAYLOAD);
|
||||
*cmd = {
|
||||
"/sbin/update_engine_sideload",
|
||||
"/system/bin/update_engine_sideload",
|
||||
android::base::StringPrintf("--payload=file://%s", path),
|
||||
android::base::StringPrintf("--offset=%ld", payload_offset),
|
||||
"--headers=" + std::string(payload_properties.begin(),
|
||||
|
||||
Reference in New Issue
Block a user