File remove-buildid.diff of Package trustedgrub

Index: stage1/Makefile.am
===================================================================
--- stage1/Makefile.am.orig
+++ stage1/Makefile.am
@@ -12,4 +12,4 @@ stage1_exec_SOURCES = stage1.S stage1.h
 
 SUFFIXES = .exec
 .exec:
-	$(OBJCOPY) -O binary $< $@
+	$(OBJCOPY) -R .note.gnu.build-id -O binary $< $@
Index: stage2/Makefile.am
===================================================================
--- stage2/Makefile.am.orig
+++ stage2/Makefile.am
@@ -283,4 +283,4 @@ pxegrub: pxeloader diskless
 # General rule for making a raw binary.
 SUFFIXES = .exec
 .exec:
-	$(OBJCOPY) -O binary $< $@
+	$(OBJCOPY) -R .note.gnu.build-id -O binary $< $@
openSUSE Build Service is sponsored by