mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-30 12:44:39 +00:00
td-shim: Adjust final tarball location
Let's create the td-shim 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: #4809 Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
This commit is contained in:
parent
62f05d4b48
commit
8d1cb1d513
@ -35,7 +35,8 @@ install target/x86_64-unknown-uefi/release/final-boot-kernel.bin ${install_dir}/
|
|||||||
popd #td-shim
|
popd #td-shim
|
||||||
popd #${build_root}
|
popd #${build_root}
|
||||||
|
|
||||||
|
local_dir=${PWD}
|
||||||
pushd ${DESTDIR}
|
pushd ${DESTDIR}
|
||||||
tar -czvf "td-shim.tar.gz" "./$PREFIX"
|
tar -czvf "${local_dir}/td-shim.tar.gz" "./$PREFIX"
|
||||||
rm -rf $(dirname ./$PREFIX)
|
rm -rf $(dirname ./$PREFIX)
|
||||||
popd #${DESTDIR}
|
popd #${DESTDIR}
|
||||||
|
Loading…
Reference in New Issue
Block a user