summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Kubacki <michael.kubacki@microsoft.com>2025-07-08 11:03:33 -0400
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2025-07-09 18:09:59 +0000
commit965a754f19e7f9434e598af6e99f012d462a91bc (patch)
tree7e0789ed20ab6725392299bb930a53e20a8ea8e9
parentb61c47632938dddd0d838a1afe38a6fd0d97bcbf (diff)
downloadedk2-965a754f19e7f9434e598af6e99f012d462a91bc.zip
edk2-965a754f19e7f9434e598af6e99f012d462a91bc.tar.gz
edk2-965a754f19e7f9434e598af6e99f012d462a91bc.tar.bz2
Revert "OvmfPkg: Pass command-line args to PR Eval"
A change was made to the following pytool releases to prevent a platform from needing to include additional logic to consider command-line build variable parameters for PR evaluation. - edk2-pytool-library v0.23.4 - edk2-pytool-extensions v0.29.11 Commit 33e58db was added as a workaround, but that is no longer needed after these pytool updates, so revert it. Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
-rw-r--r--OvmfPkg/PlatformCI/PlatformBuildLib.py15
1 files changed, 1 insertions, 14 deletions
diff --git a/OvmfPkg/PlatformCI/PlatformBuildLib.py b/OvmfPkg/PlatformCI/PlatformBuildLib.py
index 6e0b9e4..19f92ac 100644
--- a/OvmfPkg/PlatformCI/PlatformBuildLib.py
+++ b/OvmfPkg/PlatformCI/PlatformBuildLib.py
@@ -110,21 +110,8 @@ class SettingsManager(UpdateSettingsManager, SetupSettingsManager, PrEvalSetting
The tuple should be (<workspace relative path to dsc file>, <input dictionary of dsc key value pairs>)
'''
- import re
- import sys
-
- cmd_line_input_vars = {}
- for arg in sys.argv:
- if "=" in arg:
- key, value = arg.split("=", 1)
- if key.startswith("-"):
- continue
- if re.match(r"BLD_.+_", key):
- key = re.sub(r"^BLD_.+?_", "", key, count=1)
- cmd_line_input_vars[key] = value
-
dsc = CommonPlatform.GetDscName(",".join(self.ActualArchitectures))
- return (f"OvmfPkg/{dsc}", cmd_line_input_vars)
+ return (f"OvmfPkg/{dsc}", {})
# ####################################################################################### #