mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-05-02 05:34:46 +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:
parent
e07545a23c
commit
948a2b099c
@ -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() {
|
||||||
|
Loading…
Reference in New Issue
Block a user