-
Notifications
You must be signed in to change notification settings - Fork 25
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
(RHEL-30372) efi: check if all sections of our EFI binaries are properly aligned #248
base: main
Are you sure you want to change the base?
Conversation
Commit validationTracker - RHEL-30372 The following commits meet all requirements
Tracker validationSuccess🟢 Tracker RHEL-30372 has set desired product: Pull Request validationFailed🔴 Failed or pending checks - Success🟢 Review - Reviewed by a member |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mrc0mmand You can now reference RHEL-30372
f4376e8
to
bdcac04
Compare
Updated the references and marked for review, even though it'll keep failing until the undrelying objcopy issue is fixed (should be in 9.5, although that won't help us in GH Actions CI which run Ubuntu, so this'll get interesting). Also, it's very possible we might ditch the gnu-efi+objcopy approach completely in the meanwhile due to https://issues.redhat.com/browse/RHEL-30400. |
(cherry picked from commit 7ff3b88) Related: RHEL-30372
(cherry picked from commit 1f6da5d) Related: RHEL-30372
Otherwise, when building with ukify disabled, no one else requires pefile, and if it is not installed, those tests fail: ``` ================================== 12/1212 =================================== test: systemd:efi / check-alignment-systemd-bootx64.efi start time: 14:21:54 duration: 0.08s result: exit status 1 command: /mnt/work/systemd/upstream-fork/main/tools/check-efi-alignment.py /mnt/work/systemd/upstream-fork/main/build/src/boot/efi/systemd-bootx64.efi ----------------------------------- stderr ----------------------------------- Traceback (most recent call last): File "/mnt/work/systemd/upstream-fork/main/tools/check-efi-alignment.py", line 7, in <module> import pefile ModuleNotFoundError: No module named 'pefile' ============================================================================== ================================== 13/1212 =================================== test: systemd:efi / check-alignment-linuxx64.efi.stub start time: 14:21:54 duration: 0.08s result: exit status 1 command: /mnt/work/systemd/upstream-fork/main/tools/check-efi-alignment.py /mnt/work/systemd/upstream-fork/main/build/src/boot/efi/linuxx64.efi.stub ----------------------------------- stderr ----------------------------------- Traceback (most recent call last): File "/mnt/work/systemd/upstream-fork/main/tools/check-efi-alignment.py", line 7, in <module> import pefile ModuleNotFoundError: No module named 'pefile' ============================================================================== ================================== 14/1212 =================================== test: systemd:efi / check-alignment-addonx64.efi.stub start time: 14:21:54 duration: 0.07s result: exit status 1 command: /mnt/work/systemd/upstream-fork/main/tools/check-efi-alignment.py /mnt/work/systemd/upstream-fork/main/build/src/boot/efi/addonx64.efi.stub ----------------------------------- stderr ----------------------------------- Traceback (most recent call last): File "/mnt/work/systemd/upstream-fork/main/tools/check-efi-alignment.py", line 7, in <module> import pefile ModuleNotFoundError: No module named 'pefile' ============================================================================== ``` Follow-up for 7ff3b88 (cherry picked from commit f0896ca) Related: RHEL-30372
874af04
to
1abe8dc
Compare
(cherry picked from commit 7ff3b88)
Related: TBD