mirror of
				https://github.com/containers/podman.git
				synced 2025-10-31 18:08:51 +08:00 
			
		
		
		
	A temporary workaround until the CI images are updated. Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
		
			
				
	
	
		
			27 lines
		
	
	
		
			588 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			588 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/usr/bin/env bash
 | |
| BASE_PATH="/usr/libexec/podman"
 | |
| CATATONIT_PATH="${BASE_PATH}/catatonit"
 | |
| CATATONIT_VERSION="v0.1.7"
 | |
| set -e
 | |
| 
 | |
| if [ -f $CATATONIT_PATH ] && [ -z "$1" ]; then
 | |
| 	echo "skipping ... catatonit is already installed"
 | |
| 	exit 0
 | |
| fi
 | |
| 
 | |
| echo "installing catatonit to $CATATONIT_PATH"
 | |
| buildDir=$(mktemp -d)
 | |
| git clone https://github.com/openSUSE/catatonit.git $buildDir
 | |
| 
 | |
| pushd $buildDir
 | |
| echo `pwd`
 | |
| git reset --hard ${CATATONIT_VERSION}
 | |
| autoreconf -fi
 | |
| ./configure
 | |
| make
 | |
| install ${SELINUXOPT} -d -m 755 $BASE_PATH
 | |
| install ${SELINUXOPT} -m 755 catatonit $CATATONIT_PATH
 | |
| popd
 | |
| 
 | |
| rm -rf $buildDir
 |