mirror of
https://github.com/edera-dev/krata.git
synced 2026-11-04 21:22:20 +00:00
hypha: add script for quick debugging and set log levels ot warn by default
This commit is contained in:
4 files changed
+18
-2
No files matched your search
Executable
+13
@@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
if [ -z "${RUST_LOG}" ]
|
||||
then
|
||||
RUST_LOG="INFO"
|
||||
fi
|
||||
|
||||
cd "$(dirname "${0}")/.."
|
||||
./initrd/build.sh
|
||||
sudo cp "target/initrd/initrd" "/var/lib/hypha/default/initrd"
|
||||
cargo build --target x86_64-unknown-linux-gnu --bin hyphactl
|
||||
exec sudo RUST_LOG="${RUST_LOG}" target/x86_64-unknown-linux-gnu/debug/hyphactl "${@}"
|
||||
Reference in new issue
Block a user