mirror of
				https://github.com/kata-containers/kata-containers.git
				synced 2025-10-31 17:37:20 +00:00 
			
		
		
		
	tools: clh: Ensure the download binary is executable
We're downloading the released cloud-hypervisor binary from GitHub, but we should also ensure we set the binary as executable. Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
This commit is contained in:
		| @@ -41,6 +41,7 @@ pull_clh_released_binary() { | |||||||
|     curl --fail -L ${cloud_hypervisor_binary} -o cloud-hypervisor-static || return 1 |     curl --fail -L ${cloud_hypervisor_binary} -o cloud-hypervisor-static || return 1 | ||||||
|     mkdir -p cloud-hypervisor |     mkdir -p cloud-hypervisor | ||||||
|     mv -f cloud-hypervisor-static cloud-hypervisor/cloud-hypervisor |     mv -f cloud-hypervisor-static cloud-hypervisor/cloud-hypervisor | ||||||
|  |     chmod +x cloud_hypervisor/cloud-hypervisor | ||||||
| } | } | ||||||
|  |  | ||||||
| build_clh_from_source() { | build_clh_from_source() { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user