On Tue, May 21, 2019 at 2:34 AM Kang Kai <[email protected]> wrote: > > On 2019/5/21 上午1:45, Alex Kiernan wrote: > > On Mon, May 20, 2019 at 10:47 AM <[email protected]> wrote: > >> From: Kai Kang <[email protected]> > >> > >> 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 -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
