diff options
Diffstat (limited to 'testenv/Dockerfile')
-rw-r--r-- | testenv/Dockerfile | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/testenv/Dockerfile b/testenv/Dockerfile index d03ba61e..46105815 100644 --- a/testenv/Dockerfile +++ b/testenv/Dockerfile @@ -95,19 +95,10 @@ RUN git clone https://github.com/pikvm/ustreamer \ RUN mkdir -p \ /etc/kvmd/{nginx,vnc} \ /var/lib/kvmd/msd/{images,meta} \ - /opt/vc/bin \ - /fake_sysfs/sys/kernel/config/usb_gadget/kvmd/configs/c.1 \ - /fake_sysfs/sys/kernel/config/usb_gadget/kvmd/functions/mass_storage.usb0/lun.0 \ - /fake_sysfs/sys/class/thermal/thermal_zone0 \ - /fake_procfs/proc/device-tree \ - /fake_sysfs/sys/class/udc/fe980000.usb/device \ - /fake_sysfs/sys/bus/platform/drivers/dwc2 \ - && echo configured > /fake_sysfs/sys/class/udc/fe980000.usb/state \ - && ln -s /fake_sysfs/sys/bus/platform/drivers/dwc2 /fake_sysfs/sys/class/udc/fe980000.usb/device/driver + /opt/vc/bin 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 +COPY testenv/fakes/sys /fake_sysfs/sys +COPY testenv/fakes/proc /fake_procfs/proc CMD /bin/bash |