patches and low-level development discussion
 help / color / mirror / code / Atom feed
blob 438a4a4610ddc9dea3394503e8d5e635468fbddd 319 bytes (raw)
name: host/rootfs/image/usr/bin/vm-start-by-name 	 # note: path name is non-authoritative(*)

1
2
3
4
5
6
7
8
9
 
#!/bin/execlineb -WS1
# SPDX-License-Identifier: EUPL-1.2+
# SPDX-FileCopyrightText: 2025 Demi Marie Obenour <demiobenour@gmail.com>
# SPDX-FileCopyrightText: 2022-2023, 2025 Alyssa Ross <hi@alyssa.is>
backtick -E vm_id {
  backtick -E id_path { readlink /run/vm/by-name/${1} }
  basename -- $id_path
}
vm-start $vm_id

debug log:

solving 438a4a4610ddc9dea3394503e8d5e635468fbddd ...
found 438a4a4610ddc9dea3394503e8d5e635468fbddd in https://inbox.spectrum-os.org/spectrum-devel/20251201-vm-ops-by-name-v1-1-99b6f8794e68@gmail.com/ ||
	https://inbox.spectrum-os.org/spectrum-devel/20251205-vm-ops-by-name-v1-1-68617d6b48bb@gmail.com/

applying [1/1] https://inbox.spectrum-os.org/spectrum-devel/20251201-vm-ops-by-name-v1-1-99b6f8794e68@gmail.com/
diff --git a/host/rootfs/image/usr/bin/vm-start-by-name b/host/rootfs/image/usr/bin/vm-start-by-name
new file mode 100755
index 0000000000000000000000000000000000000000..438a4a4610ddc9dea3394503e8d5e635468fbddd

Checking patch host/rootfs/image/usr/bin/vm-start-by-name...
Applied patch host/rootfs/image/usr/bin/vm-start-by-name cleanly.

skipping https://inbox.spectrum-os.org/spectrum-devel/20251205-vm-ops-by-name-v1-1-68617d6b48bb@gmail.com/ for 438a4a4610ddc9dea3394503e8d5e635468fbddd
index at:
100755 438a4a4610ddc9dea3394503e8d5e635468fbddd	host/rootfs/image/usr/bin/vm-start-by-name

(*) 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/crosvm
	https://spectrum-os.org/git/doc
	https://spectrum-os.org/git/mktuntap
	https://spectrum-os.org/git/nixpkgs
	https://spectrum-os.org/git/spectrum
	https://spectrum-os.org/git/ucspi-vsock
	https://spectrum-os.org/git/www

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