summaryrefslogtreecommitdiff
path: root/kvmd/Makefile
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2018-07-11 00:06:56 +0000
committerDevaev Maxim <[email protected]>2018-07-11 00:06:56 +0000
commit008b9ca2f2d7daf96e975635ddd4c38c35bb4bdb (patch)
tree5f8c9b8921efb1258922c468c5d1bfc3c2bfc9c1 /kvmd/Makefile
parentdb56bf90db213f994dc3c433638dc497ead94096 (diff)
arduino-based hid
Diffstat (limited to 'kvmd/Makefile')
-rw-r--r--kvmd/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/kvmd/Makefile b/kvmd/Makefile
index 0f23dfb3..97af5774 100644
--- a/kvmd/Makefile
+++ b/kvmd/Makefile
@@ -1,8 +1,10 @@
TESTENV_IMAGE ?= kvmd-testenv
+TESTENV_HID ?= /dev/ttyS10
TESTENV_VIDEO ?= /dev/video0
TESTENV_LOOP ?= /dev/loop7
TESTENV_CMD ?= /bin/bash -c " \
- nginx -c /testenv/nginx.conf \
+ (socat PTY,link=$(TESTENV_HID) PTY,link=/dev/ttyS11 &) \
+ && nginx -c /testenv/nginx.conf \
&& ln -s $(TESTENV_VIDEO) /dev/kvmd-streamer \
&& (losetup -d /dev/kvmd-msd || true) \
&& losetup /dev/kvmd-msd /root/loop.img \