udev: run programs in the specified order
This fixes bugs introduced by
29448498c724da7ade1b5efb20d7472c1b128d2c
and
d838e14515c82b05a07f2bf393cce057b45b2b53.
Previously, RUN and SECLABEL keys are stored in udev_list with its unique
flag is false. If the flag is false, then udev_list is just a linked
list and new entries are always added in the last.
So, we should use OrderedHashmap instead of Hashmap.
Fixes #11368.
(cherry picked from commit
39a15c8a8dad26deda140867f03e44a535b7bd8d)
Gbp-Pq: Name udev-run-programs-in-the-specified-order.patch