mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 08:25:20 +09:00
DDIs may contain multiple versions of the same OS, or even multiple OSes. Hence it makes sense to not just pick the "newest", whatever that might be, but only partitions associated with specific images, or in a specific version. Let's a concept for such filtering: a per-designator glob expression that can be applied to the partition label string, and can be used for such filtering. Usecase: when picking UKI belonging to OS image X in version Y, make sure we only pick a /usr/ partition belonging to X in version Y, and a root and home partition belonging to X in any version. This only adds the basic infrastructure, but doesn't actually expose it anywhere.