patches and low-level development discussion
 help / color / mirror / code / Atom feed
blob d9df94b6c6b73d0ee385864691524cedd887a2e2 587 bytes (raw)
name: host/rootfs/image/etc/s6-linux-init/run-image/service/vm-services/template/data/service/xdg-desktop-portal-spectrum-host/run 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
 
#!/bin/execlineb -Wp
# SPDX-License-Identifier: EUPL-1.2+
# SPDX-FileCopyrightText: 2024-2025 Alyssa Ross <hi@alyssa.is>

vm-service-run

export DBUS_SESSION_BUS_ADDRESS unix:path=/run/portal-bus/${VM}

s6-ipcserver-socketbinder -a 0700 /run/vsock/${VM}/vsock_219
if { chown -- vmm-${VM}: /run/vsock/${VM}/vsock_219 }

# Notify readiness.
if { fdmove 1 3 echo }
fdclose 3

s6-envuidgid fs
s6-applyuidgid -Uzu 0
nsenter --preserve-credentials -S0
  --mount=/run/vm/by-id/${VM}/ns/mnt
  --user=/run/vm/by-id/${VM}/ns/user

s6-setuidgid xdp-spectrum-${VM}

xdg-desktop-portal-spectrum-host

debug log:

solving d9df94b6c6b73d0ee385864691524cedd887a2e2 ...
found d9df94b6c6b73d0ee385864691524cedd887a2e2 in https://inbox.spectrum-os.org/spectrum-devel/20260721-cgroups-v4-17-46b2e5fff7b6@gmail.com/ ||
	https://inbox.spectrum-os.org/spectrum-devel/20260711-cgroups-v3-18-5cba61a20cba@gmail.com/
found 909957b817136149dd01c3b98847238ecda8032d in https://spectrum-os.org/git/spectrum
preparing index
index prepared:
100755 909957b817136149dd01c3b98847238ecda8032d	host/rootfs/image/etc/s6-linux-init/run-image/service/vm-services/template/data/service/xdg-desktop-portal-spectrum-host/run

applying [1/1] https://inbox.spectrum-os.org/spectrum-devel/20260721-cgroups-v4-17-46b2e5fff7b6@gmail.com/
diff --git a/host/rootfs/image/etc/s6-linux-init/run-image/service/vm-services/template/data/service/xdg-desktop-portal-spectrum-host/run b/host/rootfs/image/etc/s6-linux-init/run-image/service/vm-services/template/data/service/xdg-desktop-portal-spectrum-host/run
index 909957b817136149dd01c3b98847238ecda8032d..d9df94b6c6b73d0ee385864691524cedd887a2e2 100755

Checking patch host/rootfs/image/etc/s6-linux-init/run-image/service/vm-services/template/data/service/xdg-desktop-portal-spectrum-host/run...
Applied patch host/rootfs/image/etc/s6-linux-init/run-image/service/vm-services/template/data/service/xdg-desktop-portal-spectrum-host/run cleanly.

skipping https://inbox.spectrum-os.org/spectrum-devel/20260711-cgroups-v3-18-5cba61a20cba@gmail.com/ for d9df94b6c6b73d0ee385864691524cedd887a2e2
index at:
100755 d9df94b6c6b73d0ee385864691524cedd887a2e2	host/rootfs/image/etc/s6-linux-init/run-image/service/vm-services/template/data/service/xdg-desktop-portal-spectrum-host/run

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://spectrum-os.org/git/doc
	https://spectrum-os.org/git/mktuntap
	https://spectrum-os.org/git/spectrum
	https://spectrum-os.org/git/ucspi-vsock

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).