Skip to content

OneCryptoPkg: Move PlatformBuild.py into the package#258

Merged
Flickdm merged 2 commits into
microsoft:mainfrom
Flickdm:move/OneCryptoPkg-platformbuild.py
May 29, 2026
Merged

OneCryptoPkg: Move PlatformBuild.py into the package#258
Flickdm merged 2 commits into
microsoft:mainfrom
Flickdm:move/OneCryptoPkg-platformbuild.py

Conversation

@Flickdm

@Flickdm Flickdm commented May 22, 2026

Copy link
Copy Markdown
Member

Description

Relocate PlatformBuild.py from the repository root into OneCryptoPkg/ so the platform build script lives alongside the package it builds. Update CommonPlatform.WorkspaceRoot to resolve two levels up from file so the workspace root continues to point at the repository root.

Update the onecrypto-build-variant.yml workflow and the README so all stuart_setup, stuart_ci_setup, stuart_update, and stuart_build invocations reference the new path OneCryptoPkg/PlatformBuild.py.

For details on how to complete these options and their meaning refer to CONTRIBUTING.md.

  • Impacts functionality?
  • Impacts security?
  • Breaking change?
  • Includes tests?
  • Includes documentation?

How This Was Tested

Pipeline Tests / Locally

Integration Instructions

N/A

Relocate PlatformBuild.py from the repository root into
OneCryptoPkg/ so the platform build script lives alongside
the package it builds. Update CommonPlatform.WorkspaceRoot
to resolve two levels up from __file__ so the workspace
root continues to point at the repository root.

Update the onecrypto-build-variant.yml workflow and the
README so all stuart_setup, stuart_ci_setup, stuart_update,
and stuart_build invocations reference the new path
OneCryptoPkg/PlatformBuild.py.

Signed-off-by: Doug Flick <dougflick@microsoft.com>
@Flickdm Flickdm requested a review from Javagedes May 22, 2026 17:06
@mu-automation mu-automation Bot added language:python Pull requests that update Python code impact:non-functional Does not have a functional impact labels May 22, 2026
Rename OneCryptoPkg/PlatformBuild.py to DriverBuild.py to avoid
platform terminology for a package-level driver build script.

Update the OneCrypto build variant workflow and README commands
to invoke OneCryptoPkg/DriverBuild.py for setup, update, and
build operations.

Signed-off-by: Doug Flick <dougflick@microsoft.com>
@Flickdm Flickdm marked this pull request as ready for review May 26, 2026 21:28
@Flickdm Flickdm requested a review from apop5 May 26, 2026 21:29
@Flickdm Flickdm merged commit ac50ce7 into microsoft:main May 29, 2026
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

impact:non-functional Does not have a functional impact language:python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants