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:
parent
b560596f1b
commit
de51e155f3
@ -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: ORIG_FILE = "$(CHROOT_DIR)/$(DIST_SRC)/../qubes-core-agent_$(VERSION).orig.tar.gz"
|
||||||
source-debian-quilt-copy-in:
|
source-debian-quilt-copy-in:
|
||||||
-$(shell $(ORIG_SRC)/debian-quilt $(ORIG_SRC)/series-debian-vm.conf $(CHROOT_DIR)/$(DIST_SRC)/debian/patches)
|
-$(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
|
# vim: filetype=make
|
||||||
|
4
debian/source/options
vendored
Normal file
4
debian/source/options
vendored
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
extend-diff-ignore = "(^|/)(.git/.*)$"
|
||||||
|
extend-diff-ignore = "(^|/)(deb/.*)$"
|
||||||
|
extend-diff-ignore = "(^|/)(pkgs/.*)$"
|
||||||
|
extend-diff-ignore = "(^|/)(rpm/.*)$"
|
Loading…
Reference in New Issue
Block a user