Merge "Creat hardlink if active apexes are in the same partition" am: fea0bb7135 am: f02f774e24 am: edecdbef61
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2372652 Change-Id: I83e0cf837be7ef015a8e0604a8ce72c6c9981b2e Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -249,7 +249,7 @@ class RollbackStore {
|
||||
targetDir.mkdirs();
|
||||
File targetFile = new File(targetDir, sourceFile.getName());
|
||||
|
||||
boolean fallbackToCopy = !isLinkPossible(sourceFile, targetFile);
|
||||
boolean fallbackToCopy = !isLinkPossible(sourceFile, targetDir);
|
||||
if (!fallbackToCopy) {
|
||||
try {
|
||||
// Create a hard link to avoid copy
|
||||
|
||||
Reference in New Issue
Block a user