Signed-off-by: Demi Marie Obenour <demiobenour@gmail.com> --- host/rootfs/file-list.mk | 1 + .../service/vm-services/template/data/service/spectrum-router/finish | 1 + .../service/vm-services/template/data/service/spectrum-router/run | 4 ++-- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/host/rootfs/file-list.mk b/host/rootfs/file-list.mk index 65fd1cf5071f9eba2d989d802f7641e74816816e..ce16d9a514a0750805e0badc49fe7efb9586339c 100644 --- a/host/rootfs/file-list.mk +++ b/host/rootfs/file-list.mk @@ -79,6 +79,7 @@ LINKS = \ image/etc/s6-linux-init/run-image/opengl-driver \ image/etc/s6-linux-init/run-image/service/serial-getty-generator/finish \ image/etc/s6-linux-init/run-image/service/vm-services/template/data/service/dbus/finish \ + image/etc/s6-linux-init/run-image/service/vm-services/template/data/service/spectrum-router/finish \ image/etc/s6-linux-init/run-image/service/vm-services/template/data/service/vhost-user-fs/finish \ image/etc/s6-linux-init/run-image/service/vm-services/template/data/service/vhost-user-gpu/finish \ image/etc/s6-linux-init/run-image/service/vm-services/template/data/service/xdg-desktop-portal-spectrum-host/finish \ diff --git a/host/rootfs/image/etc/s6-linux-init/run-image/service/vm-services/template/data/service/spectrum-router/finish b/host/rootfs/image/etc/s6-linux-init/run-image/service/vm-services/template/data/service/spectrum-router/finish new file mode 120000 index 0000000000000000000000000000000000000000..9e39002e3ae4063bdef05676efb55416020cf7aa --- /dev/null +++ b/host/rootfs/image/etc/s6-linux-init/run-image/service/vm-services/template/data/service/spectrum-router/finish @@ -0,0 +1 @@ +/usr/bin/cgroup-setup \ No newline at end of file diff --git a/host/rootfs/image/etc/s6-linux-init/run-image/service/vm-services/template/data/service/spectrum-router/run b/host/rootfs/image/etc/s6-linux-init/run-image/service/vm-services/template/data/service/spectrum-router/run index 3de58c27facc78c48176d8f9a6dd1827ac926f1a..dfb3b8e77c8b3a02b83f4dfeb19b3dc7a816ac45 100755 --- a/host/rootfs/image/etc/s6-linux-init/run-image/service/vm-services/template/data/service/spectrum-router/run +++ b/host/rootfs/image/etc/s6-linux-init/run-image/service/vm-services/template/data/service/spectrum-router/run @@ -1,9 +1,9 @@ -#!/bin/execlineb -WP +#!/bin/execlineb -Wp # SPDX-License-Identifier: EUPL-1.2+ # SPDX-FileCopyrightText: 2025 Yureka Lilian <yureka@cyberchaos.dev> # SPDX-FileCopyrightText: 2025 Alyssa Ross <hi@alyssa.is> -importas -i VM VM +vm-service-run s6-ipcserver-socketbinder -a 0770 /run/vm/by-id/${VM}/router-driver.sock fdmove -c 3 0 -- 2.55.0