All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Joshua Watt" <JPEWhacker@gmail.com>
To: openembedded-core@lists.openembedded.org
Cc: kai.kang@windriver.com, Joshua Watt <JPEWhacker@gmail.com>
Subject: [OE-core][PATCH] systemd-conf: Allow systemd to manage QEMU wired networks
Date: Fri, 15 Jan 2021 15:49:03 -0600	[thread overview]
Message-ID: <20210115214903.11811-1-JPEWhacker@gmail.com> (raw)

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 <JPEWhacker@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


             reply	other threads:[~2021-01-15 21:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-15 21:49 Joshua Watt [this message]
2021-01-17  9:19 ` [OE-core][PATCH] systemd-conf: Allow systemd to manage QEMU wired networks Richard Purdie
2021-03-03 15:52   ` Stefan Schmidt
2021-03-04 19:39     ` Stefan Schmidt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210115214903.11811-1-JPEWhacker@gmail.com \
    --to=jpewhacker@gmail.com \
    --cc=kai.kang@windriver.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.