mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-26 15:32:30 +00:00
qemu: Keep passing BUILD_SUFFIX
In the commit 54d6d01754
we ended up
removing the BUILD_SUFFIX argument passed to QEMU as it only seemed to
be used to generate the HYPERVISOR_NAME and PKGVERSION, which were added
as arguments to the dockerfile.
However, it turns out BUILD_SUFFIX is used by the `qemu-build-post.sh`
script, so it can rename the QEMU binary accordingly.
Let's just bring it back.
Fixes: #5078
Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
This commit is contained in:
parent
9cf4eaac13
commit
373dac2dbb
@ -56,6 +56,9 @@ ARG QEMU_REPO
|
||||
# commit/tag/branch
|
||||
ARG QEMU_VERSION
|
||||
ARG PREFIX
|
||||
# BUILD_SUFFIX is used by the qemu-build-post.sh script to
|
||||
# properly rename non vanilla versions of the QEMU
|
||||
ARG BUILD_SUFFIX
|
||||
ARG HYPERVISOR_NAME
|
||||
ARG PKGVERSION
|
||||
ARG QEMU_DESTDIR
|
||||
|
@ -39,6 +39,7 @@ CACHE_TIMEOUT=$(date +"%Y-%m-%d")
|
||||
|
||||
sudo "${container_engine}" build \
|
||||
--build-arg CACHE_TIMEOUT="${CACHE_TIMEOUT}" \
|
||||
--build-arg BUILD_SUFFIX=${build_suffix} \
|
||||
--build-arg HYPERVISOR_NAME="${HYPERVISOR_NAME}" \
|
||||
--build-arg PKGVERSION="${PKGVERSION}" \
|
||||
--build-arg http_proxy="${http_proxy}" \
|
||||
|
Loading…
Reference in New Issue
Block a user