odrefresh: temporarily disable check

Temporary measure for boot time regression whilst an alternative
approach is underway.

Bug: 160683548
Bug: 181689036
Test: manual
Change-Id: I0e7d9df5de056f89e489fe8f075f2e1355f8da36
diff --git a/odrefresh/odrefresh.cc b/odrefresh/odrefresh.cc
index 172d136..2199dad 100644
--- a/odrefresh/odrefresh.cc
+++ b/odrefresh/odrefresh.cc
@@ -1053,6 +1053,10 @@
     for (int i = 0; i < argc; ++i) {
       std::string_view action(argv[i]);
       if (action == "--check") {
+        static constexpr bool kDisableArtifactChecks = true;  // Boot regression b/181689036.
+        if (kDisableArtifactChecks) {
+          return ExitCode::kOkay;
+        }
         return odr.CheckArtifactsAreUpToDate();
       } else if (action == "--compile") {
         return odr.Compile(/*force_compile=*/false);