debian/patches/fixup_git.patch: don't run git in clean; we're not really in a git tree.

This commit is contained in:
Mathieu Trudel-Lapierre 2018-07-24 18:13:48 -04:00
parent f42b58fc50
commit ad536b8717
3 changed files with 22 additions and 0 deletions

2
debian/changelog vendored
View File

@ -12,6 +12,8 @@ shim (15+1531942534.dd3230d-0ubuntu1) UNRELEASED; urgency=medium
* debian/rules:
- define RELEASE and COMMIT_ID for the snapshot.
- Set ENABLE_HTTPBOOT to enable the HTTP Boot feature.
* debian/patches/fixup_git.patch: don't run git in clean; we're not really
in a git tree.
-- Mathieu Trudel-Lapierre <cyphermox@ubuntu.com> Tue, 24 Jul 2018 16:24:51 -0400

19
debian/patches/fixup_git.patch vendored Normal file
View File

@ -0,0 +1,19 @@
From: Mathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com>
Subject: We're not in a git tree, don't try to git clean.
---
Makefile | 1 -
1 file changed, 1 deletion(-)
Index: b/Makefile
===================================================================
--- a/Makefile
+++ b/Makefile
@@ -225,7 +225,6 @@ clean-shim-objs:
@rm -rvf $(TARGET) *.o $(SHIM_OBJS) $(MOK_OBJS) $(FALLBACK_OBJS) $(KEYS) certdb $(BOOTCSVNAME)
@rm -vf *.debug *.so *.efi *.efi.* *.tar.* version.c buildid
@rm -vf Cryptlib/*.[oa] Cryptlib/*/*.[oa]
- @git clean -f -d -e 'Cryptlib/OpenSSL/*'
clean: clean-shim-objs
$(MAKE) -C Cryptlib -f $(TOPDIR)/Cryptlib/Makefile clean

View File

@ -0,0 +1 @@
fixup_git.patch