summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdh_illumos_gate10
1 files changed, 7 insertions, 3 deletions
diff --git a/dh_illumos_gate b/dh_illumos_gate
index cdf9906..c364b46 100755
--- a/dh_illumos_gate
+++ b/dh_illumos_gate
@@ -152,9 +152,13 @@ if ( $dh{CREATE_ORIG} ) {
my $tarball = "$cwd/../${source}_${source_version}.orig.tar.xz";
my $transform = "s,.*usr/src,$source-$source_version/usr/src,";
my @tar = (
- 'tar', '-c', '-J', '--owner=0',
- '--group=0', '--mode', 'u=rwX,go=rX', '--transform',
- "'$transform'", '-f', "'$tarball'", @tar_X
+ 'tar', '-c',
+ '-J', '--exclude-vcs',
+ '--exclude-vcs-ignores', '--owner=0',
+ '--group=0', '--mode',
+ 'u=rwX,go=rX', '--transform',
+ "'$transform'", '-f',
+ "'$tarball'", @tar_X
);
my @extra = ();
if ( $dh{'BUILD'} ) {