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

OvmfPkg: enable all recent Dasharo System Feautures #92

Merged
merged 3 commits into from
Oct 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 20 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
push:
branches:
- dasharo
tags:
- 'dasharo_qemu_v*'
pull_request:
branches:
- dasharo
Expand Down Expand Up @@ -36,6 +38,8 @@ jobs:
run: |
if [ -f "Build/OvmfX64/RELEASE_GCC5/FV/OVMF_CODE.fd" ] && [ -f "Build/OvmfX64/RELEASE_GCC5/FV/OVMF_VARS.fd" ]; then
echo "RELEASE build successful. OVMF firmware image files found."
cp Build/OvmfX64/RELEASE_GCC5/FV/OVMF_CODE.fd OVMF_CODE_RELEASE.fd
cp Build/OvmfX64/RELEASE_GCC5/FV/OVMF_VARS.fd OVMF_VARS_RELEASE.fd
else
echo "RELEASE build failed. OVMF firmware image files not found."
exit 1
Expand All @@ -45,6 +49,8 @@ jobs:
run: |
if [ -f "Build/OvmfX64/DEBUG_GCC5/FV/OVMF_CODE.fd" ] && [ -f "Build/OvmfX64/DEBUG_GCC5/FV/OVMF_VARS.fd" ]; then
echo "DEBUG build successful. OVMF firmware image files found."
cp Build/OvmfX64/DEBUG_GCC5/FV/OVMF_CODE.fd OVMF_CODE_DEBUG.fd
cp Build/OvmfX64/DEBUG_GCC5/FV/OVMF_VARS.fd OVMF_VARS_DEBUG.fd
else
echo "DEBUG build failed. OVMF firmware image files not found."
exit 1
Expand All @@ -55,7 +61,17 @@ jobs:
with:
name: ovmf-artifacts # Name for the artifact
path: |
Build/OvmfX64/RELEASE_GCC5/FV/OVMF_CODE.fd
Build/OvmfX64/RELEASE_GCC5/FV/OVMF_VARS.fd
Build/OvmfX64/DEBUG_GCC5/FV/OVMF_CODE.fd
Build/OvmfX64/DEBUG_GCC5/FV/OVMF_VARS.fd
OVMF_CODE_RELEASE.fd
OVMF_VARS_RELEASE.fd
OVMF_CODE_DEBUG.fd
OVMF_VARS_DEBUG.fd

- name: Create GitHub Release
uses: softprops/action-gh-release@v1
if: startsWith(github.event.ref, 'refs/tags/dasharo_qemu')
with:
files: |
OVMF_CODE_RELEASE.fd
OVMF_VARS_RELEASE.fd
OVMF_CODE_DEBUG.fd
OVMF_VARS_DEBUG.fd
9 changes: 9 additions & 0 deletions OvmfPkg/OvmfPkgX64.dsc
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,16 @@
gDasharoSystemFeaturesTokenSpaceGuid.PcdDefaultNetworkBootEnable|FALSE
gDasharoSystemFeaturesTokenSpaceGuid.PcdDasharoEnterprise|TRUE
gDasharoSystemFeaturesTokenSpaceGuid.PcdShowIommuOptions|TRUE
gDasharoSystemFeaturesTokenSpaceGuid.PcdShowOcWdtOptions|TRUE
gDasharoSystemFeaturesTokenSpaceGuid.PcdPowerMenuShowSleepType|TRUE
gDasharoSystemFeaturesTokenSpaceGuid.PcdShowPciMenu|TRUE
gDasharoSystemFeaturesTokenSpaceGuid.PcdPciMenuShowResizeableBars|TRUE
gDasharoSystemFeaturesTokenSpaceGuid.PcdPowerMenuShowBatteryThresholds|TRUE
gDasharoSystemFeaturesTokenSpaceGuid.PcdShowMemoryMenu|TRUE
gDasharoSystemFeaturesTokenSpaceGuid.PcdShowSerialPortMenu|TRUE
gDasharoSystemFeaturesTokenSpaceGuid.PcdSerialRedirectionDefaultState|TRUE
gDasharoSystemFeaturesTokenSpaceGuid.PcdSecurityShowWiFiBtOption|TRUE
gDasharoSystemFeaturesTokenSpaceGuid.PcdSecurityShowCameraOption|TRUE

################################################################################
#
Expand Down
Loading