controller: implement enhanced image name format support

This commit is contained in:
Alex Zenla
2024-02-24 22:05:06 +00:00
parent 89e4f1a23d
commit 6511f2f0fa
5 changed files with 73 additions and 27 deletions

View File

@ -1,12 +1,8 @@
#!/bin/sh
set -e
if [ -z "${RUST_LOG}" ]
then
RUST_LOG="INFO"
fi
REAL_SCRIPT="$(realpath "${0}")"
cd "$(dirname "${REAL_SCRIPT}")/.."
cargo build --target x86_64-unknown-linux-gnu --bin kratanet
exec sudo RUST_LOG="${RUST_LOG}" target/x86_64-unknown-linux-gnu/debug/kratanet "${@}"
# shellcheck source-path=krata-debug-common.sh
. "$(dirname "${REAL_SCRIPT}")/krata-debug-common.sh"
build_and_run kratanet "${@}"