Return-Path: Received: from mail5.wrs.com (mail5.windriver.com [192.103.53.11]) by mail.openembedded.org (Postfix) with ESMTP id CFD496B07F for ; Wed, 19 Jun 2019 01:07:27 +0000 (UTC) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail5.wrs.com (8.15.2/8.15.2) with ESMTPS id x5J16rXm004047 (version=TLSv1 cipher=AES128-SHA bits=128 verify=FAIL) for ; Tue, 18 Jun 2019 18:07:18 -0700 Received: from msp-lpggp1.wrs.com (172.25.34.110) by ALA-HCA.corp.ad.wrs.com (147.11.189.40) with Microsoft SMTP Server id 14.3.439.0; Tue, 18 Jun 2019 18:07:07 -0700 From: To: Date: Tue, 18 Jun 2019 21:07:04 -0400 Message-ID: <20190619010704.36779-1-kai.kang@windriver.com> X-Mailer: git-send-email 2.20.0 MIME-Version: 1.0 Subject: [PATCH] systemd-conf: not configure network for nfs root X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Jun 2019 01:07:28 -0000 Content-Transfer-Encoding: 8bit Content-Type: text/plain From: Kai Kang It fails to boot nfs root with systemd that systemd-networkd re-configures wired network and breaks the connection with nfs root. Signed-off-by: Kai Kang --- meta/recipes-core/systemd/systemd-conf/wired.network | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-core/systemd/systemd-conf/wired.network b/meta/recipes-core/systemd/systemd-conf/wired.network index 253aee9382..ff807ba31f 100644 --- a/meta/recipes-core/systemd/systemd-conf/wired.network +++ b/meta/recipes-core/systemd/systemd-conf/wired.network @@ -1,5 +1,6 @@ [Match] Name=en* eth* +KernelCommandLine=!nfsroot [Network] DHCP=yes -- 2.20.0