mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-02 10:12:33 +00:00
release: fix install command
The kata-shim Makefile is changed and we should not set libexecdir anymore. Fixes: #257 Signed-off-by: Peng Tao <bergwolf@gmail.com>
This commit is contained in:
parent
1ad6ef33f1
commit
a8fe5b1746
@ -124,20 +124,10 @@ install_kata_components() {
|
|||||||
make \
|
make \
|
||||||
PREFIX="${prefix}" \
|
PREFIX="${prefix}" \
|
||||||
QEMUCMD="qemu-system-x86_64"
|
QEMUCMD="qemu-system-x86_64"
|
||||||
#TODO Remove libexecdir
|
|
||||||
libexecdir="libexec"
|
|
||||||
if [ "$p" == "shim" ]; then
|
|
||||||
libexecdir="/${destdir}/${prefix}/libexec/"
|
|
||||||
make PREFIX="${prefix}" \
|
|
||||||
DESTDIR="${destdir}" \
|
|
||||||
LIBEXECDIR="${libexecdir}" \
|
|
||||||
install
|
|
||||||
else
|
|
||||||
echo "Install"
|
echo "Install"
|
||||||
make PREFIX="${prefix}" \
|
make PREFIX="${prefix}" \
|
||||||
DESTDIR="${destdir}" \
|
DESTDIR="${destdir}" \
|
||||||
install
|
install
|
||||||
fi
|
|
||||||
popd >>/dev/null
|
popd >>/dev/null
|
||||||
done
|
done
|
||||||
sed -i -e '/^initrd =/d' "${destdir}/${prefix}/share/defaults/${project}/configuration.toml"
|
sed -i -e '/^initrd =/d' "${destdir}/${prefix}/share/defaults/${project}/configuration.toml"
|
||||||
|
Loading…
Reference in New Issue
Block a user