Is there an existing issue for this?
Current Behavior
The TFA build run in post-build runs git am to apply git patches in the repo. This can fail as follows:
INFO - ------------------------------------------------
INFO - --------------Cmd Output Starting---------------
INFO - ------------------------------------------------
INFO - warning: quoted CRLF detected
INFO - /workspaces/mu_tiano_platforms/.git/modules/Silicon/Arm/TFA/rebase-apply/patch:16: trailing whitespace.
INFO - /*
INFO - /workspaces/mu_tiano_platforms/.git/modules/Silicon/Arm/TFA/rebase-apply/patch:17: trailing whitespace.
INFO - * Copyright (c) 2022, Arm Limited. All rights reserved.
INFO - /workspaces/mu_tiano_platforms/.git/modules/Silicon/Arm/TFA/rebase-apply/patch:18: trailing whitespace.
INFO - *
INFO - /workspaces/mu_tiano_platforms/.git/modules/Silicon/Arm/TFA/rebase-apply/patch:19: trailing whitespace.
INFO - * SPDX-License-Identifier: BSD-3-Clause
INFO - /workspaces/mu_tiano_platforms/.git/modules/Silicon/Arm/TFA/rebase-apply/patch:20: trailing whitespace.
INFO - */
INFO - error: corrupt patch at line 195
INFO - hint: Use 'git am --show-current-patch=diff' to see the failed patch
INFO - Applying: Changes needed to hack through QEMU SBSA usage
INFO - Patch failed at 0001 Changes needed to hack through QEMU SBSA usage
INFO - When you have resolved this problem, run "git am --continue".
INFO - If you prefer to skip this patch, run "git am --skip" instead.
INFO - To restore the original branch and stop patching, run "git am --abort".
Expected Behavior
The build is not brittle and runs without depending on git am success.
Steps To Reproduce
- Open the repo in the .devcontainer docker container
- Build QemuSbsaPkg
Build Environment
- OS(s): Ubuntu 24.04 (Mu DevOps docker container)
- Tool Chain(s): GCC5
Version Information
Commit: 10b114b5548c4353808f76cd2dba0d68861cfebd (current main tip)
Urgency
Medium
Are you going to fix this?
Someone else needs to fix it
Do you need maintainer feedback?
No maintainer feedback needed
Anything else?
No response
Is there an existing issue for this?
Current Behavior
The TFA build run in post-build runs
git amto apply git patches in the repo. This can fail as follows:Expected Behavior
The build is not brittle and runs without depending on
git amsuccess.Steps To Reproduce
Build Environment
Version Information
Urgency
Medium
Are you going to fix this?
Someone else needs to fix it
Do you need maintainer feedback?
No maintainer feedback needed
Anything else?
No response