Antonio Alvarez Feijoo
f0896ca557
efi: skip check-alignment-* tests if pefile is not installed
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 7ff3b88396
2024-03-27 02:32:42 +09:00
..
2023-11-01 14:07:54 +00:00
2023-08-10 18:13:29 +02:00
2023-08-10 11:08:17 +02:00
2021-12-12 21:13:50 +01:00
2024-03-27 02:32:42 +09:00
2022-04-05 22:18:31 +02:00
2023-08-10 11:08:17 +02:00
2023-10-01 11:54:29 +01:00
2022-04-05 22:18:31 +02:00
2024-02-09 17:57:41 +01:00
2022-08-11 10:57:25 +02:00
2024-03-22 07:54:25 +09:00
2024-01-23 16:27:50 +01:00
2023-03-10 11:41:08 +01:00
2023-08-10 18:13:29 +02:00
2024-03-22 15:44:17 +01:00
2021-04-20 20:11:13 +02:00
2021-04-20 20:11:13 +02:00
2021-04-20 20:11:13 +02:00
2023-10-01 11:54:29 +01:00
2023-08-10 18:13:29 +02:00
2023-08-10 18:13:29 +02:00
2023-11-30 09:57:49 +00:00
2024-03-21 23:02:52 +00:00
2023-08-10 18:13:29 +02:00
2023-08-10 18:13:29 +02:00
2023-08-10 18:13:29 +02:00
2023-12-25 10:40:40 +01:00
2023-11-15 12:07:42 +00:00
2024-02-20 15:45:50 +01:00
2024-03-06 15:16:52 +01:00
2023-08-23 14:57:49 +02:00
2023-10-10 17:50:04 +01:00
2024-01-23 16:27:50 +01:00
2023-08-16 02:07:00 +01:00
2023-11-15 15:21:26 +01:00
2024-01-04 15:02:28 +01:00
2023-11-01 14:07:54 +00:00
2023-08-10 18:13:29 +02:00