summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2020-10-03 03:34:55 +0300
committerDevaev Maxim <[email protected]>2020-10-03 05:02:14 +0300
commitcccf44655aadc80d2d535033951e7af9ac65a271 (patch)
tree1ea9607e91e0189a0d73e87bed39b14c29213585 /Makefile
parent872145590a3227b799ae7f5e7731dfc15967d63c (diff)
common env variables
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index ceca1978..3b4b13d3 100644
--- a/Makefile
+++ b/Makefile
@@ -91,6 +91,8 @@ run: testenv $(TESTENV_GPIO)
--device $(TESTENV_VIDEO):$(TESTENV_VIDEO) \
--device $(TESTENV_GPIO):$(TESTENV_GPIO) \
--env KVMD_GPIO_DEVICE_PATH=$(TESTENV_GPIO) \
+ --env KVMD_SYSFS_PREFIX=/fake_sysfs \
+ --env KVMD_PROCFS_PREFIX=/fake_procfs \
$(if $(TESTENV_RELAY),--device $(TESTENV_RELAY):$(TESTENV_RELAY),) \
--publish 8080:80/tcp \
-it $(TESTENV_IMAGE) /bin/bash -c " \