packaging: Fix indentation of build static stratovirt

This PR fixes the indentation of the build static stratovirt script
for kata containers.

Fixes #8777

Signed-off-by: Gabriela Cervantes <gabriela.cervantes.tellez@intel.com>
This commit is contained in:
Gabriela Cervantes 2024-01-05 18:06:08 +00:00
parent 192c6ee9c3
commit 7d41c97f60

View File

@ -26,12 +26,12 @@ stratovirt_version="${stratovirt_version:-}"
[ -n "$stratovirt_version" ] || die "failed to get stratovirt version"
pull_stratovirt_released_binary() {
file_name="stratovirt-static-${stratovirt_version##*v}-${ARCH}"
download_url="${stratovirt_url}/releases/download/${stratovirt_version}/${file_name}.tar.gz"
file_name="stratovirt-static-${stratovirt_version##*v}-${ARCH}"
download_url="${stratovirt_url}/releases/download/${stratovirt_version}/${file_name}.tar.gz"
curl -L ${download_url} -o ${file_name}.tar.gz
mkdir -p static-stratovirt
tar zxvf ${file_name}.tar.gz -C static-stratovirt
curl -L ${download_url} -o ${file_name}.tar.gz
mkdir -p static-stratovirt
tar zxvf ${file_name}.tar.gz -C static-stratovirt
}
pull_stratovirt_released_binary