package/systemd: use interface for networkd config file
PATCH 1/1 package/systemd: use interface for networkd config file
by using the interface in the filename for the networkd config file, we have a clear association between the config file and the interface it applies to.
this is benefitical for systems that have multiple interfaces.
Signed-off-by Pascal de Bruijn <[email protected]>
--- package/systemd/systemd.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/systemd/systemd.mk +1 -1
@@ -330,7 +330,7 @@ ifneq ($(SYSTEMD_NETWORKD_DHCP_IFACE),) define SYSTEMD_INSTALL_NETWORK_CONFS sed s/SYSTEMD_NETWORKD_DHCP_IFACE/$(SYSTEMD_NETWORKD_DHCP_IFACE)/ \ $(SYSTEMD_PKGDIR)/dhcp.network > \ - $(TARGET_DIR)/etc/systemd/network/dhcp.network + $(TARGET_DIR)/etc/systemd/network/$(SYSTEMD_NETWORKD_DHCP_IFACE).network endef endif else
Signature · 1 line
2.7.4
Thomas Petazzoni
AppliedPATCH 1/1 package/systemd: use interface for networkd config file
Quoted 10 lines · On Wed, 8 Jan 2020 11:44:39 +0100 Pascal de Bruijn <[email protected]>…
by using the interface in the filename for the networkd config file, we have a clear association between the config file and the interface it applies to.
this is benefitical for systems that have multiple interfaces.
Signed-off-by Pascal de Bruijn <[email protected]>--- package/systemd/systemd.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com