* [Buildroot] [PATCH] package/systemd: use interface for networkd config file
@ 2020-01-08 10:44 Pascal de Bruijn
2020-02-03 22:44 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Pascal de Bruijn @ 2020-01-08 10:44 UTC (permalink / raw)
To: buildroot
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 <p.debruijn@unilogic.nl>
---
package/systemd/systemd.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk
index 791e770..6e31a14 100644
--- a/package/systemd/systemd.mk
+++ b/package/systemd/systemd.mk
@@ -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
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH] package/systemd: use interface for networkd config file
2020-01-08 10:44 [Buildroot] [PATCH] package/systemd: use interface for networkd config file Pascal de Bruijn
@ 2020-02-03 22:44 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2020-02-03 22:44 UTC (permalink / raw)
To: buildroot
On Wed, 8 Jan 2020 11:44:39 +0100
Pascal de Bruijn <p.debruijn@unilogic.nl> wrote:
> 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 <p.debruijn@unilogic.nl>
> ---
> package/systemd/systemd.mk | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-02-03 22:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-08 10:44 [Buildroot] [PATCH] package/systemd: use interface for networkd config file Pascal de Bruijn
2020-02-03 22:44 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox