shim/shim-only-os-name.patch

14 lines
398 B
Diff

Index: shim-12/Makefile
===================================================================
--- shim-12.orig/Makefile
+++ shim-12/Makefile
@@ -117,7 +117,7 @@ shim_cert.h: shim.cer
version.c : version.c.in
sed -e "s,@@VERSION@@,$(VERSION)," \
- -e "s,@@UNAME@@,$(shell uname -a)," \
+ -e "s,@@UNAME@@,$(shell uname -o)," \
-e "s,@@COMMIT@@,$(COMMITID)," \
< version.c.in > version.c