mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-04 19:56:32 +02:00
Merge pull request #16 from flatcar-linux/dongsu/fix-torcx-selinux
build_torcx_store: get selinux context included in torcx tarballs
This commit is contained in:
commit
fe7a24fab6
@ -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