mirror of
				https://github.com/vyos/vyos-build.git
				synced 2025-10-01 20:28:40 +02:00 
			
		
		
		
	Required for migration to a new Jenkins Pipeline to see which package requires arm64/armhf builds and which are cross-platform. $ scripts/list-package-arch vyos-build vyatta-bash Architecture: any, vyatta-cfg Architecture: any,Architecture:any,Architecture: any, vyatta-op Architecture: all, vyatta-cfg-system Architecture: any, vyatta-cfg-firewall Architecture: all, - 'all' is platform independent! - 'any' is platform dependent!
		
			
				
	
	
		
			8 lines
		
	
	
		
			399 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			399 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/bin/bash
 | |
| # Execute this script from the vyos-build top directory
 | |
| # Will generate a list of architectures in each repository
 | |
| for a in $(echo vyos-build; ./scripts/build-packages -l | egrep -e '^ \* ' | sed 's/^ \* //'); do
 | |
|     n=$(curl https://raw.githubusercontent.com/vyos/${a}/current/debian/control 2>/dev/null | grep "Architecture" | tr  '\n' ',')
 | |
|     printf "%-24s %s \n" "${a}" "${n}"
 | |
| done
 |