Files
KVM-privacy/debian/kvm-rkllm/DEBIAN/postinst
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

12 lines
273 B
Bash
Executable File

#!/bin/bash
set -e
if [ "$1" = "configure" ]; then
# Ensure librkllmrt.so is discoverable by the dynamic linker
ldconfig 2>/dev/null || true
systemctl daemon-reload
systemctl enable rkllm-server.service
systemctl start rkllm-server.service || true
fi