2023-11-07 20:54:57 +01:00
|
|
|
help:
|
|
|
|
@echo "make help - display tasks"
|
|
|
|
@echo " check - check androot scripts"
|
|
|
|
@echo " ensureexec - ensure all scripts are executable"
|
|
|
|
@echo " run - execute androot locally"
|
|
|
|
@echo " test - execute androot locally with diagnostic log output"
|
|
|
|
@echo " log - follow androot's log file"
|
|
|
|
check:
|
|
|
|
shellcheck *.sh
|
|
|
|
ensureexec:
|
|
|
|
chmod +x *.sh
|
|
|
|
run: ensureexec check
|
|
|
|
sudo ./androot.sh --local
|
|
|
|
test: ensureexec check
|
2023-11-08 19:47:37 +01:00
|
|
|
sudo env ALLOW_SHM=true DIAG=true ./androot.sh --local
|
2023-11-07 20:54:57 +01:00
|
|
|
log:
|
|
|
|
@PS4='';if [ -d "/tmp/androot" ]; then set -x; tail -f /tmp/androot/androot.log; elif [ -d "/data/tmp/androot" ]; then set -x; tail -f /data/tmp/androot/androot.log; else echo ":: Error: androot's log directory could not be determined (start androot first)"; exit 1; fi
|