Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SecurityPkg: Temporarily remove DeviceSecurity (and libspdm) from build #272

Merged

Conversation

makubacki
Copy link
Member

@makubacki makubacki commented May 22, 2024

Description

The SecurityPkg/DeviceSecurity/SpdmLib/libspdm submodule contains a
unit_test/cmockalib/cmocka submodule to https://git.cryptomilk.org/projects/cmocka.git.

cryptomilk.org is very unreliable and breaking all builds right now.
Since the DeviceSecurity content is not actively used in any main
branches, this change removes the libspdm submodule from the package
which, in turn, leads to removal of the content dependent on the
submodule.

These changes are made such that this commit can be reverted in the future.

That will easily restore everything after the libspdm submodule is updated
to find a more reliable host than cryptomilk.org.

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

How This Was Tested

  • SecurityPkg CI build

Integration Instructions

  • This is a temporary change. It is expected to be reverted soon.
    • If you depend on the libspdm submodule in SecurityPkg, it is
      recommended to stay on the commit prior to its removal and wait
      for it to be restored in a future commit.
    • If you do not depend on the libspdm submodule, there is not impact.
  • If you pick up this change be aware that any files in your build
    dependent on the libspdm submodule will fail.

@makubacki makubacki requested review from os-d, kuqin12 and apop5 May 22, 2024 18:54
@makubacki makubacki self-assigned this May 22, 2024
@github-actions github-actions bot added impact:breaking-change Requires integration attention impact:non-functional Does not have a functional impact labels May 22, 2024
@codecov-commenter
Copy link

codecov-commenter commented May 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 1.35%. Comparing base (966c4ee) to head (0e2b04c).

Additional details and impacted files
@@              Coverage Diff               @@
##           release/202311    #272   +/-   ##
==============================================
  Coverage            1.35%   1.35%           
==============================================
  Files                 162     162           
  Lines               38591   38591           
  Branches              265     265           
==============================================
  Hits                  521     521           
  Misses              38070   38070           
Flag Coverage Δ
FmpDevicePkg 8.07% <ø> (ø)
SecurityPkg 0.96% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@makubacki
Copy link
Member Author

Waiting on tianocore/edk2-pytool-extensions#814 to pass CI.

The SecurityPkg/DeviceSecurity/SpdmLib/libspdm submodule contains a
unit_test/cmockalib/cmocka submodule to https://git.cryptomilk.org/projects/cmocka.git.

cryptomilk.org is very unreliable and breaking all builds right now.
Since the DeviceSecurity content is not actively used in any main
branches, this change removes the libspdm submodule from the package
which, in turn, leads to removal of the content dependent on the
submodule.

These changes are made such that this commit can be reverted in the
future to easily restore everything after the libspdm submodule
can find a more reliable host than cryptomilk.org.

Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
@makubacki makubacki force-pushed the temp_remove_spdm_from_build branch from dad5673 to 0e2b04c Compare May 22, 2024 21:19
@makubacki makubacki merged commit 5651289 into microsoft:release/202311 May 22, 2024
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
impact:breaking-change Requires integration attention impact:non-functional Does not have a functional impact
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants