summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve McIntyre <93sam@debian.org>2021-02-21 16:14:14 +0000
committerSteve McIntyre <93sam@debian.org>2021-02-21 16:34:28 +0000
commitbcc26d6dfbe6948e8f79d501ac727b34771e4021 (patch)
tree87c00422504280b4459fe623ba01ac2cd74d886a
parentaacee4356efe014159e11f684050848be13ba648 (diff)
downloadefi-boot-shim-bcc26d6dfbe6948e8f79d501ac727b34771e4021.tar.gz
efi-boot-shim-bcc26d6dfbe6948e8f79d501ac727b34771e4021.zip
Remove artifacts that upstream installs that we don't use
... to keep debhelper from complaining
-rwxr-xr-xdebian/rules6
1 files changed, 6 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index 952f6462..00c5547e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -65,4 +65,10 @@ override_dh_auto_build: $(DBX_LIST)
override_dh_auto_install:
dh_auto_install --destdir=debian/tmp -- $(COMMON_OPTIONS)
+ # Remove the copy of the source that's installed - we have git
+ # already...
+ rm -rf debian/tmp/usr
+ # And remove the extra removable-media copy of shim too, it's
+ # not needed for our build and causes debhelper to complain
+ rm -f debian/tmp/boot/efi/EFI/BOOT/BOOT*.EFI
./debian/signing-template.generate