raspberrypi-utils

This commit is contained in:
Maxim Devaev 2023-10-22 07:14:06 +03:00
parent 18e001f185
commit 2d0ffe6752
3 changed files with 3 additions and 2 deletions

View File

@ -89,6 +89,7 @@ depends=(
"janus-gateway-pikvm>=0.11.2-7"
certbot
platform-io-access
raspberrypi-utils
"ustreamer>=5.32"
# Systemd UDEV bug

View File

@ -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),
},

View File

@ -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