debian: Add extend-diff-ignore options to debian packager

This will ignore excluded deb, rpm, pkg and .git directories that were
tar'ed for the .orig.tar.gz debian upstream package file and will prevent
build errors
This commit is contained in:
Jason Mehring 2015-02-19 19:56:23 -05:00
parent b560596f1b
commit de51e155f3
No known key found for this signature in database
GPG Key ID: 1BB9B1FB5A4C6DAD
2 changed files with 5 additions and 1 deletions

View File

@ -15,6 +15,6 @@ source-debian-quilt-copy-in: VERSION = $(shell cat $(ORIG_SRC)/version)
source-debian-quilt-copy-in: ORIG_FILE = "$(CHROOT_DIR)/$(DIST_SRC)/../qubes-core-agent_$(VERSION).orig.tar.gz"
source-debian-quilt-copy-in:
-$(shell $(ORIG_SRC)/debian-quilt $(ORIG_SRC)/series-debian-vm.conf $(CHROOT_DIR)/$(DIST_SRC)/debian/patches)
tar cvfz $(ORIG_FILE) --exclude-vcs --exclude=deb --exclude=rpm --exclude=pkgs --exclude=debian -C $(CHROOT_DIR)/$(DIST_SRC) .
tar cfz $(ORIG_FILE) --exclude-vcs --exclude=rpm --exclude=pkgs --exclude=deb --exclude=debian -C $(CHROOT_DIR)/$(DIST_SRC) .
# vim: filetype=make

4
debian/source/options vendored Normal file
View File

@ -0,0 +1,4 @@
extend-diff-ignore = "(^|/)(.git/.*)$"
extend-diff-ignore = "(^|/)(deb/.*)$"
extend-diff-ignore = "(^|/)(pkgs/.*)$"
extend-diff-ignore = "(^|/)(rpm/.*)$"