mirror of
				https://github.com/vyos/vyos-build.git
				synced 2025-10-01 20:28:40 +02:00 
			
		
		
		
	Use the global dependency instead of package dependency in the package.toml This fixes to build 'podman' package
		
			
				
	
	
		
			28 lines
		
	
	
		
			816 B
		
	
	
	
		
			TOML
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			816 B
		
	
	
	
		
			TOML
		
	
	
	
	
	
[[packages]]
 | 
						|
name = "podman"
 | 
						|
commit_id = "v4.9.5"
 | 
						|
scm_url = "https://github.com/containers/podman"
 | 
						|
 | 
						|
#build_cmd = "cd ..; ./build.sh"
 | 
						|
build_cmd = """
 | 
						|
make install.tools
 | 
						|
make podman-release
 | 
						|
 | 
						|
tar xf podman-release-$(dpkg --print-architecture).tar.gz
 | 
						|
VERSION=$(ls -d podman-v* | cut -c9-)
 | 
						|
 | 
						|
fpm --input-type dir --output-type deb --name podman \
 | 
						|
    --version $VERSION --deb-compression gz \
 | 
						|
    --maintainer "VyOS Package Maintainers <maintainers@vyos.net>" \
 | 
						|
    --description "Engine to run OCI-based containers in Pods" \
 | 
						|
    --depends conmon --depends crun --depends netavark --depends libgpgme11 \
 | 
						|
    --depends fuse-overlayfs --depends golang-github-containers-common \
 | 
						|
    --license "Apache License 2.0" -C podman-v$VERSION --package ..
 | 
						|
"""
 | 
						|
 | 
						|
[dependencies]
 | 
						|
packages = [
 | 
						|
    "libseccomp-dev",
 | 
						|
    "libgpgme-dev"
 | 
						|
]
 |