aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Dolbec <dolsen@gentoo.org>2016-03-19 20:23:43 -0700
committerBrian Dolbec <dolsen@gentoo.org>2016-03-19 20:23:43 -0700
commit444e50e710f10d828a706875289930e0ccd98eff (patch)
treebdc034f81caf48fb2f472a79734dbf36ad6f8fe2 /examples
parentstagebase.py: Fix missed hard coded overlay path (diff)
downloadcatalyst-444e50e710f10d828a706875289930e0ccd98eff.tar.gz
catalyst-444e50e710f10d828a706875289930e0ccd98eff.tar.bz2
catalyst-444e50e710f10d828a706875289930e0ccd98eff.zip
catalyst: Update for new pyDeComp API and flexibility
New spec options, compressor_options, compressor_arch, comp_prog. compressor_options defaults to previous xattr options, adding it to the spec overrides those. compressor_arch is a squashfs arch filtering option. comp_prog, is an os level option to auto-select between linux tar and BSD tar cli differences.
Diffstat (limited to 'examples')
-rw-r--r--examples/generic_stage_template.spec13
1 files changed, 12 insertions, 1 deletions
diff --git a/examples/generic_stage_template.spec b/examples/generic_stage_template.spec
index 367a182f..40a3d5c0 100644
--- a/examples/generic_stage_template.spec
+++ b/examples/generic_stage_template.spec
@@ -63,6 +63,18 @@ source_subpath:
#
compression_mode: lbzip2
+# Optional arch specification which applies only to the squashfs commpression modes
+# default is None
+compressor_arch":
+
+# Optional compressor options to add to the compression command
+# Defaults to a predetermined set of xattribute options
+# To disable the defaults uncomment the following line
+#compressor_options": None
+# Or to specify your own (overrides the defaults)
+# uncomment this next line and add your own options.
+#compressor_options":
+
# The search order to use for determining the decompressor
# to use on the source file. i.e. check the extensions it is capable of
# decompressing to find a match. Use the list above for the modes available.
@@ -70,7 +82,6 @@ compression_mode: lbzip2
#
decompressor_search_order: lbzip2 bzip2 tar pixz xz gzip squashfs
-
# These are the hosts used as distcc slaves when distcc is enabled in your
# catalyst.conf. It follows the same syntax as distcc-config --set-hosts and
# is entirely optional.