]> git.ipfire.org Git - thirdparty/systemd.git/commit
udev: add udev properties that point to verity/verity sig metadata partitions from...
authorLennart Poettering <lennart@poettering.net>
Mon, 2 Jun 2025 16:31:40 +0000 (18:31 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 6 Jun 2025 10:37:41 +0000 (12:37 +0200)
commit188467dfd9290b7d6246b68fc82ac70436fd6c29
tree8f106cab96742b6c464377b7b44875044e9c7c80
parent870d6da909f762cb64d25d0100d5b18157cd074f
udev: add udev properties that point to verity/verity sig metadata partitions from data partitions

This extends the dissect_image builtin to actually add device node
references to the device nodes where the associated data is placed, if
we can find it.

This is kept very generic, and independent from the roothash properties
and suchlike, since it makes sense to make it possible to set these
properties also independently of the dissect-image builtin.

The device path is a /dev/disk/by-diskseq/ symlink, so that we have
stable reference that are not subject to dev_t reuses.
src/udev/udev-builtin-dissect_image.c