Allows systemd to manage wired network interfaces just like on actual hardware. Systemd seems to be smart enough to not enable DHCP if the interface was assigned a IP address in the kernel (e.g. by runqemu), so the existing use cases should continue to work.
Signed-off-by: Joshua Watt <jpewhac...@gmail.com> --- meta/recipes-core/systemd/systemd-conf_247.2.bb | 3 --- 1 file changed, 3 deletions(-) diff --git a/meta/recipes-core/systemd/systemd-conf_247.2.bb b/meta/recipes-core/systemd/systemd-conf_247.2.bb index 944b56ff82..ea35e83f4f 100644 --- a/meta/recipes-core/systemd/systemd-conf_247.2.bb +++ b/meta/recipes-core/systemd/systemd-conf_247.2.bb @@ -29,9 +29,6 @@ do_install() { # Based on change from YP bug 8141, OE commit 5196d7bacaef1076c361adaa2867be31759c1b52 do_install_append_qemuall() { install -D -m0644 ${WORKDIR}/system.conf-qemuall ${D}${systemd_unitdir}/system.conf.d/01-${PN}.conf - - # Do not install wired.network for qemu bsps - rm -rf ${D}${systemd_unitdir}/network } PACKAGE_ARCH = "${MACHINE_ARCH}" -- 2.30.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#146859): https://lists.openembedded.org/g/openembedded-core/message/146859 Mute This Topic: https://lists.openembedded.org/mt/79714162/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-