patches and low-level development discussion
 help / color / mirror / code / Atom feed
blob a302b463ef1bd2c9ae180b6b2b9eae45a26856d6 321 bytes (raw)
name: host/rootfs/image/usr/bin/vm-console-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-console $vm_id

debug log:

solving a302b463ef1bd2c9ae180b6b2b9eae45a26856d6 ...
found a302b463ef1bd2c9ae180b6b2b9eae45a26856d6 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-console-by-name b/host/rootfs/image/usr/bin/vm-console-by-name
new file mode 100755
index 0000000000000000000000000000000000000000..a302b463ef1bd2c9ae180b6b2b9eae45a26856d6

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

skipping https://inbox.spectrum-os.org/spectrum-devel/20251205-vm-ops-by-name-v1-1-68617d6b48bb@gmail.com/ for a302b463ef1bd2c9ae180b6b2b9eae45a26856d6
index at:
100755 a302b463ef1bd2c9ae180b6b2b9eae45a26856d6	host/rootfs/image/usr/bin/vm-console-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).