0
Fork 0
mirror of https://codeberg.org/librewolf/source.git synced 2024-12-22 13:43:04 -05:00

Update disable-data-reporting-at-compile-time.patch to disable mach telemetry

This commit is contained in:
Malte Jürgens 2024-05-18 12:01:40 +02:00
parent d292bdd221
commit 73ff80ebcd
No known key found for this signature in database
GPG key ID: D29FBD5F93C0CFC3

View file

@ -1,5 +1,4 @@
diff --git a/browser/moz.configure b/browser/moz.configure diff --git a/browser/moz.configure b/browser/moz.configure
index 8653bcb..935af40 100644
--- a/browser/moz.configure --- a/browser/moz.configure
+++ b/browser/moz.configure +++ b/browser/moz.configure
@@ -5,11 +5,11 @@ @@ -5,11 +5,11 @@
@ -14,5 +13,20 @@ index 8653bcb..935af40 100644
-imply_option("MOZ_NORMANDY", True) -imply_option("MOZ_NORMANDY", True)
+imply_option("MOZ_NORMANDY", False) +imply_option("MOZ_NORMANDY", False)
with only_when(target_is_linux & compile_environment): with only_when(target_has_linux_kernel & compile_environment):
option(env="MOZ_NO_PIE_COMPAT", help="Enable non-PIE wrapper") option(env="MOZ_NO_PIE_COMPAT", help="Enable non-PIE wrapper")
diff --git a/python/mach/mach/telemetry.py b/python/mach/mach/telemetry.py
--- a/python/mach/mach/telemetry.py
+++ b/python/mach/mach/telemetry.py
@@ -98,10 +98,7 @@ def is_applicable_telemetry_environment(
def is_telemetry_enabled(settings):
- if os.environ.get("DISABLE_TELEMETRY") == "1":
- return False
-
- return settings.mach_telemetry.is_enabled
+ return False
def arcrc_path():