update
This commit is contained in:
@@ -5,6 +5,11 @@ FROM ${BUILD_FROM}
|
||||
# Copy root filesystem
|
||||
COPY rootfs /
|
||||
|
||||
RUN \
|
||||
apt-get update \
|
||||
&& apt-get install -y --no-install-recommends \
|
||||
crudini \
|
||||
|
||||
# https://www.virtualhere.com/sites/default/files/usbclient/vhclient${BUILD_ARCH}
|
||||
RUN \
|
||||
curl -sSLf -o /usr/bin/vhclient \
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
name: VirtualHere Client
|
||||
version: "0.1.8"
|
||||
version: "0.1.9"
|
||||
slug: vhclient
|
||||
description: VirtualHere Client
|
||||
arch:
|
||||
@@ -30,7 +30,7 @@ usb: true
|
||||
usbip: true
|
||||
kernel_modules: true
|
||||
options:
|
||||
clientid: "[HOST]"
|
||||
clientid: "vhclient"
|
||||
autofind: false
|
||||
schema:
|
||||
clientid: str?
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
/sbin/modprobe -s vhci-hcd
|
||||
5
vhclient/rootfs/etc/s6-overlay/s6-rc.d/config/run
Normal file
5
vhclient/rootfs/etc/s6-overlay/s6-rc.d/config/run
Normal file
@@ -0,0 +1,5 @@
|
||||
#!/command/with-contenv bashio
|
||||
|
||||
if bashio::config.has_value 'clientid'; then
|
||||
bashio::log.info "Set ClientId"
|
||||
fi
|
||||
1
vhclient/rootfs/etc/s6-overlay/s6-rc.d/config/type
Normal file
1
vhclient/rootfs/etc/s6-overlay/s6-rc.d/config/type
Normal file
@@ -0,0 +1 @@
|
||||
oneshot
|
||||
1
vhclient/rootfs/etc/cont-init.d/remount_sys.sh → vhclient/rootfs/etc/s6-overlay/s6-rc.d/init-vhclient/run
Executable file → Normal file
1
vhclient/rootfs/etc/cont-init.d/remount_sys.sh → vhclient/rootfs/etc/s6-overlay/s6-rc.d/init-vhclient/run
Executable file → Normal file
@@ -1 +1,2 @@
|
||||
/sbin/modprobe -s vhci-hcd
|
||||
mount -o remount -t sysfs sysfs /sys
|
||||
@@ -0,0 +1 @@
|
||||
oneshot
|
||||
1
vhclient/rootfs/etc/s6-overlay/s6-rc.d/init-vhclient/up
Normal file
1
vhclient/rootfs/etc/s6-overlay/s6-rc.d/init-vhclient/up
Normal file
@@ -0,0 +1 @@
|
||||
/etc/s6-overlay/s6-rc.d/init-vhclient/run
|
||||
@@ -1,3 +1,3 @@
|
||||
#!/usr/bin/with-contenv bashio
|
||||
bashio::log.info "Starting VirtualHere Client as a daemon"
|
||||
exec /usr/bin/vhclient -c /config/vhclient.conf -l /dev/stdout
|
||||
exec /usr/bin/vhclient -c /config/vhclient.ini -l /dev/stdout
|
||||
1
vhclient/rootfs/etc/s6-overlay/s6-rc.d/vhclient/type
Normal file
1
vhclient/rootfs/etc/s6-overlay/s6-rc.d/vhclient/type
Normal file
@@ -0,0 +1 @@
|
||||
longrun
|
||||
@@ -2,3 +2,6 @@ configuration:
|
||||
autofind:
|
||||
name: AUTOFIND
|
||||
description: Turn auto-find off
|
||||
clientid:
|
||||
name: CLIENTID
|
||||
description: Name presented in Server for in use at
|
||||
|
||||
Reference in New Issue
Block a user