udev-node: save information about device node and priority in symlink
Previously, we only store device IDs in /run/udev/links, and when
creating/removing device node symlink, we create sd_device object
corresponds to the IDs and read device node and priority from the
object. That requires parsing uevent and udev database files.
This makes link_find_prioritized() get the most prioritzed device node
without parsing the files.
(cherry picked from commit
377a83f0d80376456d9be203796f66f543a8b943)
Gbp-Pq: Name udev-node-save-information-about-device-node-and-priority.patch
udev-node: stack directory must exist when adding device node symlink
(cherry picked from commit
46070dbf26435ba0def099121f46a6253f3f19b6)
Gbp-Pq: Name udev-node-stack-directory-must-exist-when-adding-device-n.patch
udev-node: split out permission handling from udev_node_add()
And then merge udev_node_add() and udev_node_update_old_links().
(cherry picked from commit
2f48561e0db3cd63f65e9311b4d69282b4ac605d)
Gbp-Pq: Name udev-node-split-out-permission-handling-from-udev_node_ad.patch
sd-device: introduce device_has_devlink()
(cherry picked from commit
b881ce16b9ccae4c3089c82e2ea1781cd9773a4f)
Gbp-Pq: Name sd-device-introduce-device_has_devlink.patch