blob 11a81c9be8f1adaef3cee17efdba1eb80e9fe3c7 1133 bytes (raw)
name: host/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
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
| | #!/bin/execlineb -P
# SPDX-License-Identifier: EUPL-1.2+
# SPDX-FileCopyrightText: 2021 Alyssa Ross <hi@alyssa.is>
if -n {
# If this is a Spectrum installer eosimages partition, we might be
# booting from the installer, and should loopback mount the images.
importas -i mdev MDEV
if {
backtick -E type { lsblk -lnpo PARTTYPE $mdev }
test $type = 56a3bbc3-aefa-43d9-a64d-7b3fd59bbc4e
}
if {
forx -pE module { ext4 loop }
modprobe $module
}
backtick uuid { lsblk -lnpo PARTUUID $mdev }
multisubstiute {
define mdev_ $mdev
importas -Si uuid
}
if { mkdir -p /mnt/${uuid} }
if { mount $mdev_ /mnt/${uuid} }
find /mnt/${uuid} -name *.img -exec
losetup -Pf {}
;
}
# Check whether we now have all the partitions we need to boot.
importas -i version x-spectrum-version
backtick rootfs_dev { findfs PARTLABEL=Spectrum_${version} }
backtick verity_dev { findfs PARTLABEL=Spectrum_${version}.verity }
multisubstitute {
importas -iS rootfs_dev
importas -iS verity_dev
}
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 11a81c9be8f1adaef3cee17efdba1eb80e9fe3c7 ...
found 11a81c9be8f1adaef3cee17efdba1eb80e9fe3c7 in https://inbox.spectrum-os.org/spectrum-devel/20251112-updates-v2-4-88d96bf81b79@gmail.com/
found 4cbd00db52c1a7128b5c619a43d415675feaee0b in https://spectrum-os.org/git/spectrum
preparing index
index prepared:
100755 4cbd00db52c1a7128b5c619a43d415675feaee0b host/initramfs/etc/probe
applying [1/1] https://inbox.spectrum-os.org/spectrum-devel/20251112-updates-v2-4-88d96bf81b79@gmail.com/
diff --git a/host/initramfs/etc/probe b/host/initramfs/etc/probe
index 4cbd00db52c1a7128b5c619a43d415675feaee0b..11a81c9be8f1adaef3cee17efdba1eb80e9fe3c7 100755
Checking patch host/initramfs/etc/probe...
Applied patch host/initramfs/etc/probe cleanly.
index at:
100755 11a81c9be8f1adaef3cee17efdba1eb80e9fe3c7 host/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/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).