summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--PKGBUILD1
-rw-r--r--kvmd/apps/__init__.py2
-rw-r--r--testenv/Dockerfile2
3 files changed, 3 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index cf83e21b..c943674d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -89,6 +89,7 @@ depends=(
"janus-gateway-pikvm>=0.11.2-7"
certbot
platform-io-access
+ raspberrypi-utils
"ustreamer>=5.32"
# Systemd UDEV bug
diff --git a/kvmd/apps/__init__.py b/kvmd/apps/__init__.py
index 90399638..a0ee9bff 100644
--- a/kvmd/apps/__init__.py
+++ b/kvmd/apps/__init__.py
@@ -382,7 +382,7 @@ def _get_config_scheme() -> dict:
"meta": Option("/etc/kvmd/meta.yaml", type=valid_abs_file),
"extras": Option("/usr/share/kvmd/extras", type=valid_abs_dir),
"hw": {
- "vcgencmd_cmd": Option(["/opt/vc/bin/vcgencmd"], type=valid_command),
+ "vcgencmd_cmd": Option(["/usr/bin/vcgencmd"], type=valid_command),
"ignore_past": Option(False, type=valid_bool),
"state_poll": Option(10.0, type=valid_float_f01),
},
diff --git a/testenv/Dockerfile b/testenv/Dockerfile
index a4246989..036a8380 100644
--- a/testenv/Dockerfile
+++ b/testenv/Dockerfile
@@ -101,7 +101,7 @@ RUN mkdir -p \
/var/lib/kvmd/pst/data \
/opt/vc/bin
-COPY testenv/fakes/vcgencmd /opt/vc/bin/
+COPY testenv/fakes/vcgencmd /usr/bin/
COPY testenv/fakes/sys /fake_sysfs/sys
COPY testenv/fakes/proc /fake_procfs/proc
COPY testenv/fakes/etc /fake_etc/etc