mirror of
				https://github.com/lingble/talos.git
				synced 2025-10-31 20:47:56 +00:00 
			
		
		
		
	 960a040491
			
		
	
	960a040491
	
	
	
		
			
			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
 |