patches and low-level development discussion
 help / color / mirror / code / Atom feed
blob 2ebeb8bfe74c0f18aa9a66c5337cf686aafb27f8 523 bytes (raw)
name: vm/initramfs/etc/probe 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
 
#!/bin/execlineb -WP
# SPDX-License-Identifier: EUPL-1.2+
# SPDX-FileCopyrightText: 2021 Alyssa Ross <hi@alyssa.is>

# Check whether we now have all the partitions we need to boot.

importas -i rootfs_uuid ROOTFS_UUID
importas -i verity_uuid VERITY_UUID

backtick -E rootfs_dev { findfs PARTUUID=${rootfs_uuid} }
backtick -E verity_dev { findfs PARTUUID=${verity_uuid} }

if { rm -f /dev/rootfs /dev/verity }
if { ln -s $rootfs_dev /dev/rootfs }
if { ln -s $verity_dev /dev/verity }

redirfd -w -nb 1 /dev/rootfs.poll echo

debug log:

solving 2ebeb8b ...
found 2ebeb8b in https://inbox.spectrum-os.org/spectrum-devel/20260625202013.1417254-3-colby@colbyt.com/

applying [1/1] https://inbox.spectrum-os.org/spectrum-devel/20260625202013.1417254-3-colby@colbyt.com/
diff --git a/vm/initramfs/etc/probe b/vm/initramfs/etc/probe
new file mode 100755
index 0000000..2ebeb8b

Checking patch vm/initramfs/etc/probe...
Applied patch vm/initramfs/etc/probe cleanly.

index at:
100755 2ebeb8bfe74c0f18aa9a66c5337cf686aafb27f8	vm/initramfs/etc/probe

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