patches and low-level development discussion
 help / color / mirror / code / Atom feed
blob 23a815c0c260452ff9b1bcce7a091519b7420196 268 bytes (raw)
name: host/rootfs/image/usr/bin/vm-stop 	 # note: path name is non-authoritative(*)

1
2
3
4
5
6
7
8
 
#!/bin/execlineb -WS1
# SPDX-License-Identifier: EUPL-1.2+
# SPDX-FileCopyrightText: 2023 Alyssa Ross <hi@alyssa.is>

foreground { ch-remote --api-socket /run/vm/by-id/${1}/vmm shutdown }
if { cgroup-purge /vm-services.slice/vm-${1}.slice/vmm }
importas -iS ?
exit $?

debug log:

solving 23a815c0c260452ff9b1bcce7a091519b7420196 ...
found 23a815c0c260452ff9b1bcce7a091519b7420196 in https://inbox.spectrum-os.org/spectrum-devel/20260721-cgroups-v4-11-46b2e5fff7b6@gmail.com/ ||
	https://inbox.spectrum-os.org/spectrum-devel/20260805-cgroups-v6-12-086c0f00f55f@gmail.com/ ||
	https://inbox.spectrum-os.org/spectrum-devel/20260731-cgroups-v5-12-b325bac9d34f@gmail.com/
found 6fb6aaed46de684eb035243e4f7c79111e93bf8c in https://spectrum-os.org/git/spectrum
preparing index
index prepared:
100755 6fb6aaed46de684eb035243e4f7c79111e93bf8c	host/rootfs/image/usr/bin/vm-stop

applying [1/1] https://inbox.spectrum-os.org/spectrum-devel/20260721-cgroups-v4-11-46b2e5fff7b6@gmail.com/
diff --git a/host/rootfs/image/usr/bin/vm-stop b/host/rootfs/image/usr/bin/vm-stop
index 6fb6aaed46de684eb035243e4f7c79111e93bf8c..23a815c0c260452ff9b1bcce7a091519b7420196 100755

Checking patch host/rootfs/image/usr/bin/vm-stop...
Applied patch host/rootfs/image/usr/bin/vm-stop cleanly.

skipping https://inbox.spectrum-os.org/spectrum-devel/20260805-cgroups-v6-12-086c0f00f55f@gmail.com/ for 23a815c0c260452ff9b1bcce7a091519b7420196
skipping https://inbox.spectrum-os.org/spectrum-devel/20260731-cgroups-v5-12-b325bac9d34f@gmail.com/ for 23a815c0c260452ff9b1bcce7a091519b7420196
index at:
100755 23a815c0c260452ff9b1bcce7a091519b7420196	host/rootfs/image/usr/bin/vm-stop

(*) 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).