mirror of
https://github.com/siderolabs/talos.git
synced 2025-09-29 01:31:11 +02:00
Part of: #9127 Label executables and processes, build, load and manage SELinux policy, enable audit support. Labeling filesystems, devices and runtime files will be done in further changes, see the full PR. Signed-off-by: Dmitry Sharshakov <dmitry.sharshakov@siderolabs.com>
7 lines
225 B
Bash
Executable File
7 lines
225 B
Bash
Executable File
#!/toolchain/bin/bash
|
|
|
|
set -e
|
|
# set SELinux labels for files according to file_contexts supplied
|
|
/toolchain/sbin/setfiles -r $1 -F -vv $3 $1
|
|
mksquashfs $1 $2 -all-root -noappend -comp zstd -Xcompression-level $4 -no-progress
|