Remove artifacts that upstream installs that we don't use

... to keep debhelper from complaining
This commit is contained in:
Steve McIntyre 2021-02-21 16:14:14 +00:00
parent aacee4356e
commit bcc26d6dfb

6
debian/rules vendored
View File

@ -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