more fixes for graywolf

This commit is contained in:
David Young
2026-05-30 07:03:56 -06:00
parent cf3e3ab8db
commit 723f1eee34
2 changed files with 16 additions and 1 deletions

View File

@@ -71,4 +71,4 @@ steps=mkdir build, cd build, cmake -D CMAKE_INSTALL_PREFIX=/opt/JS8Call-improved
version=0.13.13
git=https://github.com/chrissnell/graywolf.git
install=$HOME/.local/bin/graywolf
steps=getent group dialout || sudo groupadd dialout, make all, install -m 755 bin/graywolf $HOME/.local/bin/graywolf, install -m 755 bin/graywolf-modem $HOME/.local/bin/graywolf-modem, mkdir -p $HOME/.local/share/graywolf, sed -i "s|/usr/bin/graywolf|$HOME/.local/bin/graywolf|g" packaging/systemd/graywolf.service, sed -i "s|/var/lib/graywolf|$HOME/.local/share/graywolf|g" packaging/systemd/graywolf.service, sed -i "/^\[Service\]/a User=$USER" packaging/systemd/graywolf.service, printf '\n[Install]\nWantedBy=multi-user.target\n' >> packaging/systemd/graywolf.service, sudo install -m 644 packaging/systemd/graywolf.service /etc/systemd/system/graywolf.service, sudo packaging/scripts/postinstall.sh, sudo systemctl enable --now graywolf
steps=getent group dialout || sudo groupadd dialout, make all, install -m 755 bin/graywolf $HOME/.local/bin/graywolf, install -m 755 bin/graywolf-modem $HOME/.local/bin/graywolf-modem, mkdir -p $HOME/.local/share/graywolf, sed "s|HAMPACK_USER|$USER|g; s|HAMPACK_HOME|$HOME|g" $HOME/.local/share/HamPack/systemd/graywolf.service > /tmp/graywolf.service, sudo install -m 644 /tmp/graywolf.service /etc/systemd/system/graywolf.service, sudo systemctl daemon-reload, sudo systemctl enable --now graywolf