diff options
author | Devaev Maxim <[email protected]> | 2020-12-25 11:08:56 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2020-12-25 11:08:56 +0300 |
commit | 0adfe17f70051f1061bcb0b40dcaa5593091a67e (patch) | |
tree | a69522e60103ff11f8c3d9ad662dbed0bd1b6939 /Makefile | |
parent | 4447e49abb518a4da83d6adc16ca1bb5dcba5fae (diff) |
configurable gpio devices
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -101,7 +101,6 @@ run: testenv $(TESTENV_GPIO) --volume `pwd`/contrib/keymaps:/usr/share/kvmd/keymaps:ro \ --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),) \ @@ -121,6 +120,7 @@ run: testenv $(TESTENV_GPIO) && cp /testenv/$(if $(P),$(P),$(DEFAULT_PLATFORM)).override.yaml /etc/kvmd/override.yaml \ && nginx -c /etc/kvmd/nginx/nginx.conf -g 'user http; error_log stderr;' \ && ln -s $(TESTENV_VIDEO) /dev/kvmd-video \ + && ln -s $(TESTENV_VIDEO) /dev/kvmd-gpio \ && $(if $(CMD),$(CMD),python -m kvmd.apps.kvmd --run) \ " |