Package: efitools / 1.9.2-4
Metadata
| Package | Version | Patches format |
|---|---|---|
| efitools | 1.9.2-4 | 3.0 (quilt) |
Patch series
view the series file| Patch | File delta | Description |
|---|---|---|
| makefile enable harden local files.patch | (download) |
Makefile |
21 12 + 9 - 0 ! |
--- |
| fix deps.patch | (download) |
Make.rules |
2 1 + 1 - 0 ! |
fix a typo in the %-blacklist.esl rule This sometimes resulted in FTBFS. |
| allow riscv64 build.patch | (download) |
Make.rules |
7 7 + 0 - 0 ! |
--- |
| efitools add build support for loongarch64.patch | (download) |
Make.rules |
6 6 + 0 - 0 ! |
add build support for loongarch64 |
| sbat compat.patch | (download) |
include/pecoff.h |
3 2 + 1 - 0 ! |
--- |
| fix ftbfs lp2083030.patch | (download) |
Make.rules |
2 1 + 1 - 0 ! |
fix ftbfs - Remove redefintions of __STDC_VERSION__ - Add _XOPEN_SOURCE=700 to expose some APIs being used - Remove dangerous usage of mktemp and sscanf - Use standard C types over non-standard aliases - Remove CFLAGS disabling mitigations - Stop building EFI binaries |
| fix build stack protector.patch | (download) |
Make.rules |
2 1 + 1 - 0 ! |
make sure stack-protector is disabled, it breaks builds
cc -o cert-to-efi-sig-list cert-to-efi-sig-list.o -g -O3 -Werror=implicit-function-declaration -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=/efitools-1.9.2=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=/efitools-1.9.2=/usr/src/efitools-1.9.2-3.3ubuntu5 -Wl,-Bsymbolic-functions -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now lib/lib.a -lcrypto
# check we have no undefined symbols
nm -D HelloWorld.so | grep ' U ' && exit 1 || exit 0
U __stack_chk_fail
make[1]: *** [Make.rules:79: HelloWorld.so] Error 1
rm KeyTool.o DB1.crt ShimReplace.o ReadVars.o SetNull.o HelloWorld.o UpdateVars.o HashTool.o Loader.o DB2.crt
make[1]: Leaving directory '/efitools-1.9.2'
dh_auto_build: error: make -j4 "INSTALL=install --strip-program=true" returned exit code 2
make: *** [debian/rules:13: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
root@Unimatrix04-Noble:/efitools-1.9.2# nm -D HelloWorld.so | grep ' U '
U __stack_chk_fail
|
| no efi on aarch64.patch | (download) |
Makefile |
8 7 + 1 - 0 ! |
efi binaries building fails on aarch64, for unknown reasons. Disabling it is the fastest way to make the package build there and migrate to testing Timestamp is 0-0-0 00:00:00 Authentication Payload size 134 Signature of size 1151 Signature at: 40 Invalid DOS header magic make[1]: *** [Make.rules:136: HelloWorld-signed.efi] Error 1 rm KEK-blacklist.esl SetNull.so KeyTool.o ms-kek.esl DB1.crt DB1.esl PK-hash-blacklist.esl ShimReplace.o ReadVars.o DB2-blacklist.esl ms-kek-blacklist.esl SetNull.o ms-uefi-hash-blacklist.esl HelloWorld.o ms-uefi-blacklist.esl UpdateVars.o KEK-hash-blacklist.esl DB-blacklist.esl HashTool.o DB1-hash-blacklist.esl ms-uefi.esl DB2.esl Loader.o DB2.crt ms-kek-hash-blacklist.esl PK-blacklist.esl DB2-hash-blacklist.esl DB-hash-blacklist.esl DB1-blacklist.esl |
| gcc15.patch | (download) |
lib/asn1/typedefs.h |
5 4 + 1 - 0 ! |
--- |
| objcopy output target.patch | (download) |
Make.rules |
2 1 + 1 - 0 ! |
use objcopy --output-target instead of --target |
| multiarch.patch | (download) |
Make.rules |
3 2 + 1 - 0 ! |
--- |
