diff options
author | Devaev Maxim <[email protected]> | 2020-07-09 05:04:21 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2020-07-09 05:13:03 +0300 |
commit | 53eb74670d040c9e8745433a2641f18796da365c (patch) | |
tree | b321d856280e6fe4bb2b410b582c046ae4e7ee20 /testenv/Dockerfile | |
parent | 69f77ce48b279c614f1aaca809c1d74e411f1fd1 (diff) |
hw monitoring
Diffstat (limited to 'testenv/Dockerfile')
-rw-r--r-- | testenv/Dockerfile | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/testenv/Dockerfile b/testenv/Dockerfile index 9c23d29c..9d9e99f9 100644 --- a/testenv/Dockerfile +++ b/testenv/Dockerfile @@ -44,10 +44,14 @@ RUN pip install -r requirements.txt RUN mkdir -p \ /etc/kvmd/nginx \ /var/lib/kvmd/msd/{images,meta} \ + /opt/vc/bin \ /fake_sysfs/sys/kernel/config/usb_gadget/kvmd/functions/mass_storage.usb0/lun.0 \ - && cd /fake_sysfs/sys/kernel/config/usb_gadget/kvmd/functions/mass_storage.usb0/lun.0 \ - && touch file \ - && echo 1 > cdrom \ - && echo 1 > ro + /fake_sysfs/sys/class/thermal/thermal_zone0 \ + /fake_procfs/proc/device-tree + +COPY testenv/fakes/vcgencmd /opt/vc/bin/ +COPY testenv/fakes/msd/* /fake_sysfs/sys/kernel/config/usb_gadget/kvmd/functions/mass_storage.usb0/lun.0/ +COPY testenv/fakes/cpu_temp /fake_sysfs/sys/class/thermal/thermal_zone0/temp +COPY testenv/fakes/dt_model /fake_procfs/proc/device-tree/model CMD /bin/bash |