mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-02 07:40:12 +01:00
This was only for unit testing, to check whether our reader for "/etc/machine-id" agrees with systemd's. That unit test was anyway flawed, because it actually accesses the machine-id on the test system. Anyway. Drop this. Most likely our parser is good enough, and if we get a bug report with a defect, we can unit test against that. |
||
|---|---|---|
| .. | ||
| sd-adapt-core | ||
| src | ||
| meson.build | ||
| nm-default-systemd-core.h | ||
| nm-sd.c | ||
| nm-sd.h | ||
| README.md | ||
libnm-systemd-core
This is a fork of systemd source files that are compiled as a static library with network helpers.
We use systemd's DHCPv6 and LLDP library, by forking their code.
We also still use their DHCPv4 library, but that is about to be replaced
by nettools' n-dhcp4 and not used unless you configure the undocumented
[main].dhcp=systemd plugin.
This approach of code-reuse is very cumbersome, and we should replace systemd code by a proper library (like nettools).
We should not use systemd directly from our sources, beyond what we really need.
Reimport Upstream Code
Read here.