On 2019/5/21 下午12:49, Alex Kiernan wrote:
On Tue, May 21, 2019 at 2:34 AM Kang Kai <kai.k...@windriver.com> wrote:
On 2019/5/21 上午1:45, Alex Kiernan wrote:
On Mon, May 20, 2019 at 10:47 AM <kai.k...@windriver.com> wrote:
From: Kai Kang <kai.k...@windriver.com>

Add a configure file for systemd.networkd to configure wired network
interfaces with dhcp. It works with common network interfaces such eth0
and eno1.

[YOCTO #13057]

I'm really not convinced about this - yes it's initially surprising,
but should base packages have this kind of assumptions/policy baked
into them?
I have considered whether systemd or systemd-conf should contain such
configure file. Compare to Fedora and Debian,
no such kind of pre-configured network setting provided by systemd, so I
added the configure file to systemd-config.

If systemd should be preferred, I'll update in v2.

No, systemd-conf is the right place for it, since this is machine
specific configuration. My question is really if this piece of
configuration should exist at all in OE-Core; but I'm not totally
opposed to it.

I could live with the kind of construction in meta-yoe (but with the
files added to systemd-conf as you already have)


The original requirement is from [Bug 13057 - No default network configuration for systemd-networkd ] which blocks to make systemd as default init manager. If add this to meta-yoe, it still no working network if no connman/networkmanager installed(but this is same as
Fedora 29 and Debian 9).


Regards,
Kai




--
Kai Kang

--
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to