mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-17 15:38:00 +00:00
ovmf: Adjust final tarball location
Let's create the OVMF tarball in the directory where the script was called from, instead of doing it in the $DESTDIR. This aligns with the logic being used for creating / extracting the tarball content, which is already in use by the kata-deploy local build scripts. Fixes: #4808 Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
This commit is contained in:
parent
873e75b915
commit
62f05d4b48
@ -90,7 +90,8 @@ if [ "${ovmf_build}" == "tdx" ]; then
|
|||||||
install $build_root/$ovmf_dir/"${build_path_arch}"/DumpTdxEventLog.efi ${install_dir}
|
install $build_root/$ovmf_dir/"${build_path_arch}"/DumpTdxEventLog.efi ${install_dir}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
local_dir=${PWD}
|
||||||
pushd $DESTDIR
|
pushd $DESTDIR
|
||||||
tar -czvf "${ovmf_dir}-${ovmf_build}.tar.gz" "./$PREFIX"
|
tar -czvf "${local_dir}/${ovmf_dir}-${ovmf_build}.tar.gz" "./$PREFIX"
|
||||||
rm -rf $(dirname ./$PREFIX)
|
rm -rf $(dirname ./$PREFIX)
|
||||||
popd
|
popd
|
||||||
|
Loading…
Reference in New Issue
Block a user