diff service/wifi/makefile @ 421:47d7dd31bb2c

port to py3 Ignore-this: e1a2e6bb730111e76f5a5dd2366d498a
author drewp@bigasterisk.com
date Sat, 30 Mar 2019 18:27:17 -0700
parents a530d9c5b280
children e0703c7824e9
line wrap: on
line diff
--- a/service/wifi/makefile	Sat Mar 30 16:58:08 2019 -0700
+++ b/service/wifi/makefile	Sat Mar 30 18:27:17 2019 -0700
@@ -11,11 +11,11 @@
 	docker push ${TAG}
 	rm -r tmp_ctx
 
-shell:
+shell: build_image
 	docker run --rm -it --cap-add SYS_PTRACE --net=host ${TAG} /bin/bash
 
-local_run:
-	docker run --rm -it -p ${PORT}:${PORT} \
-          --net=host \
-          ${TAG} \
-          python tomatoWifi.py -v 
+local_run: build_image
+	docker run --rm -it -p ${PORT}:${PORT} --net=host ${TAG} python3 wifi.py -v
+
+local_run_strace: build_image
+	docker run --rm -it -p ${PORT}:${PORT} --cap-add=SYS_PTRACE --net=host ${TAG} strace -f -s 200 python3 wifi.py -v