]> 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>
Wed, 25 Jun 2025 12:36:10 +0000 (13:36 +0100)
commit137ba868c70f5bbfd0432e36266d49cf819b5a13
tree08d07c471bc2203076488e364217b97ef8b9bc84
parent51163626cdd955955fd8453057f75b4d4e31906e
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.

(cherry picked from commit a7deadd763427fcff67b6697557dfbd0c91647ec)
rules.d/75-net-description.rules