[OE-core] [PATCH 1/1] systemd-conf: configure wired network with dhcp

Alex Kiernan alex.kiernan at gmail.com
Tue May 21 04:49:25 UTC 2019


On Tue, May 21, 2019 at 2:34 AM Kang Kai <Kai.Kang at windriver.com> wrote:
>
> On 2019/5/21 上午1:45, Alex Kiernan wrote:
> > On Mon, May 20, 2019 at 10:47 AM <kai.kang at windriver.com> wrote:
> >> From: Kai Kang <kai.kang at 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)

-- 
Alex Kiernan


More information about the Openembedded-core mailing list