JeremyStarTM
8e0e3f63a1
- [androot.sh] Fix $DOWNLOADSERVER_BOOTSCRIPTS - [androot.sh] Add $BRANCH variable - [androot.sh] Introduce run_script() function - [androot.sh] Use case instead of if - [prepare.sh] Fix typo (executer -> executor) - [rootfsinstall.sh] Remove "bsdtar failed" log line - [bootscriptdl.sh] Trim download mode - [bootscriptdl.sh] Implement install-qemu mode - [README.md] Changed wording and added links - [README.md] Add /dev/shm recommendation - [Makefile,README.md] Add Makefile
17 lines
792 B
Makefile
17 lines
792 B
Makefile
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
|
|
sudo env DIAG=true ./androot.sh --local
|
|
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
|