Loading debuggerd/Android.bp +8 −0 Original line number Diff line number Diff line Loading @@ -24,6 +24,10 @@ cc_library_headers { export_include_dirs: ["common/include"], recovery_available: true, vendor_ramdisk_available: true, apex_available: [ "com.android.virt", "//apex_available:platform", ], } cc_library_shared { Loading @@ -44,6 +48,10 @@ cc_library_shared { "libbase", "libcutils", ], apex_available: [ "com.android.virt", "//apex_available:platform", ], export_header_lib_headers: ["libdebuggerd_common_headers"], export_include_dirs: ["tombstoned/include"], Loading debuggerd/rust/tombstoned_client/Android.bp +1 −0 Original line number Diff line number Diff line Loading @@ -17,6 +17,7 @@ cc_library_static { shared_libs: [ "libtombstoned_client", ], apex_available: ["com.android.virt"], } rust_defaults { Loading init/first_stage_init.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -113,10 +113,10 @@ static void Copy(const char* src, const char* dst) { LOG(INFO) << "hard linking " << src << " to " << dst << " succeeded"; return; } PLOG(FATAL) << "hard linking " << src << " to " << dst << " failed, falling back to copy."; PLOG(FATAL) << "hard linking " << src << " to " << dst << " failed"; } // Move e2fsck before switching root, so that it is available at the same path // Move snapuserd before switching root, so that it is available at the same path // after switching root. void PrepareSwitchRoot() { constexpr const char* src = "/system/bin/snapuserd"; Loading Loading
debuggerd/Android.bp +8 −0 Original line number Diff line number Diff line Loading @@ -24,6 +24,10 @@ cc_library_headers { export_include_dirs: ["common/include"], recovery_available: true, vendor_ramdisk_available: true, apex_available: [ "com.android.virt", "//apex_available:platform", ], } cc_library_shared { Loading @@ -44,6 +48,10 @@ cc_library_shared { "libbase", "libcutils", ], apex_available: [ "com.android.virt", "//apex_available:platform", ], export_header_lib_headers: ["libdebuggerd_common_headers"], export_include_dirs: ["tombstoned/include"], Loading
debuggerd/rust/tombstoned_client/Android.bp +1 −0 Original line number Diff line number Diff line Loading @@ -17,6 +17,7 @@ cc_library_static { shared_libs: [ "libtombstoned_client", ], apex_available: ["com.android.virt"], } rust_defaults { Loading
init/first_stage_init.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -113,10 +113,10 @@ static void Copy(const char* src, const char* dst) { LOG(INFO) << "hard linking " << src << " to " << dst << " succeeded"; return; } PLOG(FATAL) << "hard linking " << src << " to " << dst << " failed, falling back to copy."; PLOG(FATAL) << "hard linking " << src << " to " << dst << " failed"; } // Move e2fsck before switching root, so that it is available at the same path // Move snapuserd before switching root, so that it is available at the same path // after switching root. void PrepareSwitchRoot() { constexpr const char* src = "/system/bin/snapuserd"; Loading