Skip to content

Commit 6d2a798

Browse files
author
Yifan Hong
committed
snapshotctl don't auto-merge.
update_engine is now responsible for initiating the merge. snapshotctl becomes a debugging tool for libsnapshot now. Bug: 147696014 Test: libsnapshot_test Change-Id: Ia2527a35e0c0f0789dbe5c477e174663ef406903
1 parent 81f46d9 commit 6d2a798

File tree

4 files changed

+2
-5
lines changed

4 files changed

+2
-5
lines changed

CleanSpec.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,3 +90,4 @@ $(call add-clean-step, rm -rf $(PRODUCT_OUT)/recovery/root/product_services)
9090
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/debug_ramdisk/product_services)
9191
$(call add-clean-step, find $(PRODUCT_OUT) -type l -name "charger" -print0 | xargs -0 rm -f)
9292
$(call add-clean-step, rm -f $(PRODUCT_OUT)/system/bin/adbd)
93+
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/etc/init/snapshotctl.rc)

fs_mgr/libsnapshot/Android.bp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,4 @@ cc_binary {
235235
// TODO(b/148818798): remove when parent bug is fixed.
236236
"libutilscallstack",
237237
],
238-
init_rc: [
239-
"snapshotctl.rc",
240-
],
241238
}

fs_mgr/libsnapshot/snapshotctl.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@ bool MergeCmdHandler(int argc, char** argv) {
178178
}
179179

180180
LOG(ERROR) << "Snapshot failed to merge with state \"" << state << "\".";
181+
181182
return false;
182183
}
183184

fs_mgr/libsnapshot/snapshotctl.rc

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)