Files
KVM-privacy/debian/kvm-rkllm/DEBIAN/prerm
T
qiuruiandClaude Opus 4.6 8000170221 feat: add kvm-rkllm deb package for RKLLM NPU inference server
- Add pyproject.toml with CLI entry point
- Wrap __main__.py module-level code in main() function
- Update config.py default lib_path to /usr/lib/kvm-rkllm/
- Update systemd service to use deb install paths
- Create debian/kvm-rkllm/ with control, postinst, prerm, wrapper

The package bundles librkllmrt.so (closed-source RK3588 NPU runtime)
alongside Python source. LLM model not included (too large).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 04:45:25 +00:00

8 lines
173 B
Bash
Executable File

#!/bin/bash
set -e
if [ "$1" = "remove" ] || [ "$1" = "purge" ]; then
systemctl stop rkllm-server.service || true
systemctl disable rkllm-server.service || true
fi