add disable-verify-mar patch

This commit is contained in:
Bert van der Weerd 2022-04-27 10:25:15 +02:00
parent 78aad0d382
commit 49cc4b9813
No known key found for this signature in database
GPG key ID: 4CFABB96ADE0F5B1
2 changed files with 29 additions and 1 deletions

View file

@ -0,0 +1,26 @@
diff --git a/toolkit/components/maintenanceservice/moz.build b/toolkit/components/maintenanceservice/moz.build
index a4dae3f..312873c 100644
--- a/toolkit/components/maintenanceservice/moz.build
+++ b/toolkit/components/maintenanceservice/moz.build
@@ -18,7 +18,7 @@ USE_LIBS += [
]
# For debugging purposes only
-# DEFINES['DISABLE_UPDATER_AUTHENTICODE_CHECK'] = True
+DEFINES['DISABLE_UPDATER_AUTHENTICODE_CHECK'] = True
DEFINES["UNICODE"] = True
DEFINES["_UNICODE"] = True
diff --git a/toolkit/mozapps/update/tests/moz.build b/toolkit/mozapps/update/tests/moz.build
index 1a52a88..59d100c 100644
--- a/toolkit/mozapps/update/tests/moz.build
+++ b/toolkit/mozapps/update/tests/moz.build
@@ -59,7 +59,7 @@ if CONFIG["MOZ_MAINTENANCE_SERVICE"]:
DEFINES["MOZ_MAINTENANCE_SERVICE"] = CONFIG["MOZ_MAINTENANCE_SERVICE"]
# For debugging purposes only
-# DEFINES['DISABLE_UPDATER_AUTHENTICODE_CHECK'] = True
+DEFINES['DISABLE_UPDATER_AUTHENTICODE_CHECK'] = True
if CONFIG["CC_TYPE"] == "clang-cl":
WIN32_EXE_LDFLAGS += ["-ENTRY:wmainCRTStartup"]

2
mk.py
View file

@ -41,6 +41,8 @@ def build(debug=False):
else: else:
exec('cp -v ../assets/mozconfig.windows mozconfig') exec('cp -v ../assets/mozconfig.windows mozconfig')
# two patches for windows only, currently
patch('../assets/disable-verify-mar.patch')
patch('../assets/package-manifest.patch') patch('../assets/package-manifest.patch')
# perform the build and package # perform the build and package