arrfab / rpms / shim

Forked from rpms/shim 4 years ago
Clone
Blob Blame History Raw
From af3293e11528d991090b34a564c4d2e5de416e79 Mon Sep 17 00:00:00 2001
From: Peter Jones <pjones@redhat.com>
Date: Tue, 18 Feb 2014 15:19:07 -0500
Subject: [PATCH] Actually reflect the upstream commit this patchset gets us
 to.

Signed-off-by: Peter Jones <shim-owner@fedoraproject.org>
---
 Makefile | 2 +-
 commit   | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)
 create mode 100644 commit

diff --git a/Makefile b/Makefile
index e65d28d..c3ce4be 100644
--- a/Makefile
+++ b/Makefile
@@ -67,7 +67,7 @@ shim_cert.h: shim.cer
 version.c : version.c.in
 	sed	-e "s,@@VERSION@@,$(VERSION)," \
 		-e "s,@@UNAME@@,$(shell uname -a)," \
-		-e "s,@@COMMIT@@,$(shell if [ -d .git ] ; then git log -1 --pretty=format:%H ; elif [ -f commit ]; then cat commit ; else echo commit id not available; fi)," \
+		-e "s,@@COMMIT@@,$(shell if [ -f commit ]; then cat commit ; else echo commit id not available; fi)," \
 		< version.c.in > version.c
 
 certdb/secmod.db: shim.crt
diff --git a/commit b/commit
new file mode 100644
index 0000000..c52fa12
--- /dev/null
+++ b/commit
@@ -0,0 +1 @@
+06495f692fa748a553ffbde8bfae2974d8c791c0
\ No newline at end of file
-- 
1.8.5.3