]> git.ipfire.org Git - thirdparty/systemd.git/commit
udev/rules.d: import hwdb before calling net_id builtin
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 12 Jun 2025 09:25:54 +0000 (18:25 +0900)
committerLuca Boccassi <luca.boccassi@gmail.com>
Fri, 13 Jun 2025 09:43:21 +0000 (10:43 +0100)
commita7deadd763427fcff67b6697557dfbd0c91647ec
treec958ba1870e92d1b5413df0fef32e5060c00f9bf
parentd3b7e6306838ca3f75fac3c6e91c35d2cd07fdd2
udev/rules.d: import hwdb before calling net_id builtin

The commit cdcb1eeeb883b2ecb3992865f458f874900ddb87 adds
ID_NET_NAME_INCLUDE_DOMAIN property support in net_id builtin.
The property is basically set through hwdb. However, previously hwdb was
imported after calling net_id builtin, hence when net_id is called, the
property was never set.

This makes hwdb is imported before calling net_id builtin, so that the
property is set when net_id is called if hwdb has an entry about that
for the interface.

Follow-up for cdcb1eeeb883b2ecb3992865f458f874900ddb87.
Fixes #37758.
rules.d/75-net-description.rules