summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2022-07-16 22:31:51 +0300
committerMaxim Devaev <[email protected]>2022-07-16 22:32:19 +0300
commitf8a77c840365e381191d34336f84db0e3566f087 (patch)
tree7987227b793a992c9e8de138531b09501031575a
parentac06ef62fc0b911ae7d1434ef0def9a74f7d1581 (diff)
fixed make run
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 12fa18dc..e2b38a86 100644
--- a/Makefile
+++ b/Makefile
@@ -116,7 +116,8 @@ run: testenv $(TESTENV_GPIO)
--publish 8080:80/tcp \
--publish 4430:443/tcp \
-it $(TESTENV_IMAGE) /bin/bash -c " \
- mount -t debugfs none /sys/kernel/debug \
+ mkdir -p /tmp/kvmd-nginx \
+ && mount -t debugfs none /sys/kernel/debug \
&& test -d /sys/kernel/debug/gpio-mockup/`basename $(TESTENV_GPIO)`/ || (echo \"Missing GPIO mockup\" && exit 1) \
&& (socat PTY,link=$(TESTENV_HID) PTY,link=/dev/ttyS11 &) \
&& cp -r /usr/share/kvmd/configs.default/nginx/* /etc/kvmd/nginx \