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