Skip to content

Commit

Permalink
raspberrypi-utils
Browse files Browse the repository at this point in the history
  • Loading branch information
mdevaev committed Oct 22, 2023
1 parent 18e001f commit 2d0ffe6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ depends=(
"janus-gateway-pikvm>=0.11.2-7"
certbot
platform-io-access
raspberrypi-utils
"ustreamer>=5.32"

# Systemd UDEV bug
Expand Down
2 changes: 1 addition & 1 deletion kvmd/apps/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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),
},
Expand Down
2 changes: 1 addition & 1 deletion testenv/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2d0ffe6

Please sign in to comment.