This commit is contained in:
Hans Karlinius
2024-11-23 22:38:06 +01:00
parent 7ea274e43d
commit b7dc60ffca
18 changed files with 21 additions and 4 deletions

View File

@@ -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 \

View File

@@ -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?

View File

@@ -1 +0,0 @@
/sbin/modprobe -s vhci-hcd

View File

@@ -0,0 +1,5 @@
#!/command/with-contenv bashio
if bashio::config.has_value 'clientid'; then
bashio::log.info "Set ClientId"
fi

View File

@@ -0,0 +1 @@
oneshot

View File

@@ -1 +1,2 @@
/sbin/modprobe -s vhci-hcd
mount -o remount -t sysfs sysfs /sys

View File

@@ -0,0 +1 @@
oneshot

View File

@@ -0,0 +1 @@
/etc/s6-overlay/s6-rc.d/init-vhclient/run

View File

@@ -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

View File

@@ -0,0 +1 @@
longrun

View File

@@ -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