mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-18 23:39:30 +00:00
release: only set LIBEXECDIR for kata-shim
It is the only repo that requires LIBEXECDIR. Do not set it for other repos, otherwise the runtime repo will mistakenly install kata-netmon in a wrong path. Signed-off-by: Peng Tao <bergwolf@gmail.com>
This commit is contained in:
@@ -128,12 +128,16 @@ install_kata_components() {
|
||||
libexecdir="libexec"
|
||||
if [ "$p" == "shim" ]; then
|
||||
libexecdir="/${destdir}/${prefix}/libexec/"
|
||||
fi
|
||||
echo "Install"
|
||||
make PREFIX="${prefix}" \
|
||||
DESTDIR="${destdir}" \
|
||||
LIBEXECDIR="${libexecdir}" \
|
||||
install
|
||||
else
|
||||
echo "Install"
|
||||
make PREFIX="${prefix}" \
|
||||
DESTDIR="${destdir}" \
|
||||
install
|
||||
fi
|
||||
popd >>/dev/null
|
||||
done
|
||||
sed -i -e '/^initrd =/d' "${destdir}/${prefix}/share/defaults/${project}/configuration.toml"
|
||||
|
Reference in New Issue
Block a user