assemblers/tar: include selinux, acls and xattrs
All of these options, i.e. SELinux labels, ACLs and extended attributes (xattrs), are opt-in and thus were currently ignored. This lead to trees that had their selinux labels missing and were thus incorrect.
This commit is contained in:
parent
33283853e9
commit
920f46880b
1 changed files with 7 additions and 0 deletions
|
|
@ -58,6 +58,13 @@ def main(tree, output_dir, options):
|
|||
"XZ_OPT": "--threads 0"
|
||||
}
|
||||
|
||||
# SELinux context, ACLs and extended attributes
|
||||
extra_args += [
|
||||
"--selinux",
|
||||
"--acls",
|
||||
"--xattrs", "--xattrs-include", "*",
|
||||
]
|
||||
|
||||
# Set up the tar command.
|
||||
tar_cmd = [
|
||||
"tar",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue