mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-04 19:56:32 +02:00
build_torcx_store: get selinux context included in torcx tarballs
So far build_torcx_store has not included any selinux context in the tarball, because it ran without `--selinux` option. Let's add the option to fix that.
This commit is contained in:
parent
ab637f03cf
commit
f13f4526fa
@ -190,7 +190,7 @@ function torcx_package() {
|
||||
fi
|
||||
|
||||
tmpfile="${BUILD_DIR}/${name}:${version}.torcx.tgz"
|
||||
tar --force-local -C "${tmppkgroot}" -czf "${tmpfile}" .
|
||||
tar --force-local --selinux --xattrs -C "${tmppkgroot}" -czf "${tmpfile}" .
|
||||
sha512sum=$(sha512sum "${tmpfile}" | awk '{print $1}')
|
||||
|
||||
# TODO(euank): this opaque digest, if it were reproducible, could save
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user