mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-02 02:02:24 +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 \
|
||||
PREFIX="${prefix}" \
|
||||
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"
|
||||
make PREFIX="${prefix}" \
|
||||
DESTDIR="${destdir}" \
|
||||
install
|
||||
fi
|
||||
echo "Install"
|
||||
make PREFIX="${prefix}" \
|
||||
DESTDIR="${destdir}" \
|
||||
install
|
||||
popd >>/dev/null
|
||||
done
|
||||
sed -i -e '/^initrd =/d' "${destdir}/${prefix}/share/defaults/${project}/configuration.toml"
|
||||
|
Loading…
Reference in New Issue
Block a user