fix(install): use /usr/sbin as install path and fix systemd dependency (#245)

This commit is contained in:
Alex Zenla
2024-07-11 23:49:02 -07:00
committed by GitHub
parent d1b2cb3683
commit 1126f1ffc9
6 changed files with 10 additions and 10 deletions

4
hack/dist/systar.sh vendored
View File

@ -22,9 +22,9 @@ tar xf "${OUTPUT_DIR}/bundle-systemd-${TARGET_ARCH}.tgz"
mkdir sys
cd sys
mkdir -p usr/bin usr/libexec
mkdir -p usr/bin usr/sbin
mv ../krata/kratactl usr/bin
mv ../krata/kratanet ../krata/kratad usr/libexec/
mv ../krata/kratanet ../krata/kratad usr/sbin/
if [ "${SYSTAR_VARIANT}" = "openrc" ]
then