|
@@ -19,7 +19,7 @@ class Entry_files(Entry_section):
|
|
|
|
|
|
Properties / Entry arguments:
|
|
|
- pattern: Filename pattern to match the files to include
|
|
|
- - compress: Compression algorithm to use:
|
|
|
+ - files-compress: Compression algorithm to use:
|
|
|
none: No compression
|
|
|
lz4: Use lz4 compression (via 'lz4' command-line utility)
|
|
|
|
|
@@ -36,7 +36,8 @@ class Entry_files(Entry_section):
|
|
|
self._pattern = fdt_util.GetString(self._node, 'pattern')
|
|
|
if not self._pattern:
|
|
|
self.Raise("Missing 'pattern' property")
|
|
|
- self._compress = fdt_util.GetString(self._node, 'compress', 'none')
|
|
|
+ self._files_compress = fdt_util.GetString(self._node, 'files-compress',
|
|
|
+ 'none')
|
|
|
self._require_matches = fdt_util.GetBool(self._node,
|
|
|
'require-matches')
|
|
|
|
|
@@ -53,7 +54,7 @@ class Entry_files(Entry_section):
|
|
|
subnode = state.AddSubnode(self._node, name)
|
|
|
state.AddString(subnode, 'type', 'blob')
|
|
|
state.AddString(subnode, 'filename', fname)
|
|
|
- state.AddString(subnode, 'compress', self._compress)
|
|
|
+ state.AddString(subnode, 'compress', self._files_compress)
|
|
|
|
|
|
# Read entries again, now that we have some
|
|
|
self._ReadEntries()
|