mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-29 16:57:18 +00:00
qemu-virtiofs: Fix tar naming for qemu with virtiofs support
Fixes the naming of tarball for qemu-virtiofs so that it is different from the qemu one. Signed-off-by: Archana Shinde <archana.m.shinde@intel.com>
This commit is contained in:
parent
f2ef8411fa
commit
420eb6e984
@ -142,7 +142,7 @@ install_qemu_virtiofsd() {
|
|||||||
info "build static qemu-virtiofs"
|
info "build static qemu-virtiofs"
|
||||||
"${script_dir}/../static-build/qemu-virtiofs/build-static-qemu-virtiofs.sh"
|
"${script_dir}/../static-build/qemu-virtiofs/build-static-qemu-virtiofs.sh"
|
||||||
info "Install static qemu-virtiofs"
|
info "Install static qemu-virtiofs"
|
||||||
tar xf kata-qemu-static.tar.gz -C "${destdir}"
|
tar xf kata-qemu-virtiofs-static.tar.gz -C "${destdir}"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Install static firecracker asset
|
# Install static firecracker asset
|
||||||
|
@ -18,7 +18,8 @@ qemu_virtiofs_repo=$(get_from_kata_deps "assets.hypervisor.qemu-experimental.url
|
|||||||
# This tag will be supported on the runtime versions.yaml
|
# This tag will be supported on the runtime versions.yaml
|
||||||
qemu_virtiofs_tag=$(get_from_kata_deps "assets.hypervisor.qemu-experimental.tag")
|
qemu_virtiofs_tag=$(get_from_kata_deps "assets.hypervisor.qemu-experimental.tag")
|
||||||
qemu_tar="kata-qemu-static.tar.gz"
|
qemu_tar="kata-qemu-static.tar.gz"
|
||||||
qemu_tmp_tar="kata-qemu-static-tmp.tar.gz"
|
qemu_virtiofs_tar="kata-qemu-virtiofs-static.tar.gz"
|
||||||
|
qemu_tmp_tar="kata-qemu-virtiofs-static-tmp.tar.gz"
|
||||||
|
|
||||||
info "Build ${qemu_virtiofs_repo} tag: ${qemu_virtiofs_tag}"
|
info "Build ${qemu_virtiofs_repo} tag: ${qemu_virtiofs_tag}"
|
||||||
|
|
||||||
@ -46,4 +47,4 @@ sudo chown ${USER}:${USER} "${PWD}/${qemu_tar}"
|
|||||||
|
|
||||||
# Remove blacklisted binaries
|
# Remove blacklisted binaries
|
||||||
gzip -d < "${qemu_tar}" | tar --delete --wildcards -f - ${qemu_black_list[*]} | gzip > "${qemu_tmp_tar}"
|
gzip -d < "${qemu_tar}" | tar --delete --wildcards -f - ${qemu_black_list[*]} | gzip > "${qemu_tmp_tar}"
|
||||||
mv -f "${qemu_tmp_tar}" "${qemu_tar}"
|
mv -f "${qemu_tmp_tar}" "${qemu_virtiofs_tar}"
|
||||||
|
Loading…
Reference in New Issue
Block a user