Skip to content

Commit

Permalink
debian: exclude a little less from "orig" tarball
Browse files Browse the repository at this point in the history
Don't exclude rpm_spec dir and 'debian*' files - otherwise dpkg-source
would complain about files modified outside 'debian' dir.

In practice, only 'pkgs' and .git dirs should be excluded, but there are
some interactions with automagic *.dom0 and *.vm files handling.
  • Loading branch information
marmarek committed Jun 1, 2016
1 parent baba0d7 commit 3ebb4c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.builder
Expand Up @@ -82,7 +82,7 @@ mgmt-salt-debian-prep::
$(eval version = $(shell $(DEBIAN_PARSER) changelog --package-version $(changelog))) \
$(eval package = $(shell $(DEBIAN_PARSER) changelog --package-name $(changelog))) \
$(eval orig_file = $(_CHROOT_SRC)/../$(package)_$(version).orig.tar.gz) \
$(eval tar_opts = --exclude-vcs --exclude=./pkgs --exclude=./*.vm --exclude=./*.dom0 --exclude=./debian* --exclude=./rpm_spec) \
$(eval tar_opts = --exclude-vcs --exclude=./pkgs --exclude=./*.vm --exclude=./*.dom0 --exclude=./debian.*) \
-$(shell $(MGMT_PLUGIN_DIR)/debian-quilt $(ORIG_SRC)/series-debian-vm.conf $(_CHROOT_SRC)/debian/patches) \
$(shell tar cfz $(orig_file) $(tar_opts) -C $(_CHROOT_SRC) .) \
)
Expand Down

0 comments on commit 3ebb4c2

Please sign in to comment.