summaryrefslogtreecommitdiff
path: root/actions/pack_action.go
diff options
context:
space:
mode:
Diffstat (limited to 'actions/pack_action.go')
-rw-r--r--actions/pack_action.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/actions/pack_action.go b/actions/pack_action.go
index 1cb1af0..b8f28a7 100644
--- a/actions/pack_action.go
+++ b/actions/pack_action.go
@@ -34,6 +34,8 @@ func (pf *PackAction) Run(context *debos.DebosContext) error {
pf.LogStart()
outfile := path.Join(context.Artifactdir, pf.File)
- log.Printf("Compression to %s\n", outfile)
- return debos.Command{}.Run("Packing", "tar", "czf", outfile, "-C", context.Rootdir, ".")
+ log.Printf("Compressing to %s\n", outfile)
+ return debos.Command{}.Run("Packing", "tar", "czf", outfile,
+ "--xattrs", "--xattrs-include=*.*",
+ "-C", context.Rootdir, ".")
}