- 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>
8 lines
173 B
Bash
Executable File
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
|