mirror of
https://github.com/systemd/systemd.git
synced 2026-11-06 05:17:24 +00:00
systemd-sysupdate copies the "user.uapi.match_…" extended attributes of files in UAPI.16 manifests onto the files it installs, which restrict the files to specific systems (hostname, machine ID, machine tags, os-release image/OS ID and version). Let's honour them when picking entries from .v/ directories too: entries whose extended attributes don't match the local system are skipped, as if they didn't exist. The system properties are only loaded once an entry actually carries one of the attributes. Entries referenced literally, i.e. without making use of .v/ logic, are not filtered. This may be turned off with the new PICK_IGNORE_XATTR_MATCH flag, which systemd-vpick exposes as --match-xattr=no.