b85a3305e7
SL-Micro to the image booting with TPM2 unsealing (bsc#1210382) * 769e41d Limit the removable option to encrypted SL-Micro OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory/shim?expand=0&rev=216
27 lines
1.2 KiB
Diff
27 lines
1.2 KiB
Diff
Index: shim-15.8/gnu-efi/Make.defaults
|
|
===================================================================
|
|
--- shim-15.8.orig/gnu-efi/Make.defaults
|
|
+++ shim-15.8/gnu-efi/Make.defaults
|
|
@@ -205,7 +205,7 @@ endif
|
|
|
|
ASFLAGS += $(ARCH3264)
|
|
LDFLAGS += -nostdlib --warn-common --no-undefined --fatal-warnings \
|
|
- --build-id=sha1 --no-warn-rwx-segments
|
|
+ --no-warn-rwx-segments
|
|
|
|
ifneq ($(ARCH),arm)
|
|
export LIBGCC=$(shell $(CC) $(CFLAGS) $(ARCH3264) -print-libgcc-file-name)
|
|
Index: shim-15.8/Make.defaults
|
|
===================================================================
|
|
--- shim-15.8.orig/Make.defaults
|
|
+++ shim-15.8/Make.defaults
|
|
@@ -192,7 +192,7 @@ ifneq ($(origin SBAT_AUTOMATIC_DATE), un
|
|
DEFINES += -DSBAT_AUTOMATIC_DATE=$(SBAT_AUTOMATIC_DATE)
|
|
endif
|
|
|
|
-LDFLAGS = --hash-style=sysv -nostdlib -znocombreloc -T $(EFI_LDS) -shared -Bsymbolic -L$(LOCAL_EFI_PATH) -L$(LIBDIR) -LCryptlib -LCryptlib/OpenSSL $(EFI_CRT_OBJS) --build-id=sha1 $(ARCH_LDFLAGS) --no-undefined
|
|
+LDFLAGS = --hash-style=sysv -nostdlib -znocombreloc -T $(EFI_LDS) -shared -Bsymbolic -L$(LOCAL_EFI_PATH) -L$(LIBDIR) -LCryptlib -LCryptlib/OpenSSL $(EFI_CRT_OBJS) $(ARCH_LDFLAGS) --no-undefined
|
|
|
|
ifneq ($(DEBUG),)
|
|
export DEBUG
|