summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2022-11-18 02:26:47 +0300
committerMaxim Devaev <[email protected]>2022-11-18 02:26:47 +0300
commit2b8cc93362c16b9ff4d1f4caeaecab6fd56297d9 (patch)
treeae60bf7258b9040d47456a8ddc0d49a8a86c0d11
parent9d543122ceee21d2db2f4d04965f1fdfeb2a965d (diff)
pass web.css from testenv
-rw-r--r--Makefile2
-rw-r--r--testenv/web.css0
2 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8d012a97..a5eb2d6f 100644
--- a/Makefile
+++ b/Makefile
@@ -103,6 +103,7 @@ run: testenv $(TESTENV_GPIO)
--privileged \
--volume `pwd`/testenv/run:/run/kvmd:rw \
--volume `pwd`/testenv:/testenv:ro \
+ --volume `pwd`/testenv/web.css:/etc/kvmd/web.css:ro \
--volume `pwd`/kvmd:/kvmd:ro \
--volume `pwd`/testenv/env.py:/kvmd/env.py:ro \
--volume `pwd`/web:/usr/share/kvmd/web:ro \
@@ -128,7 +129,6 @@ run: testenv $(TESTENV_GPIO)
&& cp /usr/share/kvmd/configs.default/kvmd/main/$(if $(P),$(P),$(DEFAULT_PLATFORM)).yaml /etc/kvmd/main.yaml \
&& mkdir -p /etc/kvmd/override.d \
&& cp /testenv/$(if $(P),$(P),$(DEFAULT_PLATFORM)).override.yaml /etc/kvmd/override.yaml \
- && cp /usr/share/kvmd/configs.default/kvmd/web.css /etc/kvmd \
&& nginx -c /etc/kvmd/nginx/nginx.conf -g 'user http; error_log stderr;' \
&& ln -s $(TESTENV_VIDEO) /dev/kvmd-video \
&& ln -s $(TESTENV_GPIO) /dev/kvmd-gpio \
diff --git a/testenv/web.css b/testenv/web.css
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/testenv/web.css