diff options
author | Maxim Devaev <[email protected]> | 2023-10-22 07:14:06 +0300 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2023-10-22 07:14:06 +0300 |
commit | 2d0ffe6752366be50a4a4970b9db7cefba86077d (patch) | |
tree | 4f02c4f9d4c0466c380831c99e8a93f7eaea4f87 | |
parent | 18e001f1850460f1d41fe21a0b83b617d56fda4e (diff) |
raspberrypi-utils
-rw-r--r-- | PKGBUILD | 1 | ||||
-rw-r--r-- | kvmd/apps/__init__.py | 2 | ||||
-rw-r--r-- | testenv/Dockerfile | 2 |
3 files changed, 3 insertions, 2 deletions
@@ -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 |