From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from relay1.mentorg.com (relay1.mentorg.com [192.94.38.131]) by mail.openembedded.org (Postfix) with ESMTP id B0AA66E5CB for ; Mon, 7 Mar 2016 12:10:45 +0000 (UTC) Received: from nat-ies.mentorg.com ([192.94.31.2] helo=SVR-IES-FEM-01.mgc.mentorg.com) by relay1.mentorg.com with esmtp id 1actzp-0004G3-Nj from Awais_Belal@mentor.com for openembedded-core@lists.openembedded.org; Mon, 07 Mar 2016 04:10:45 -0800 Received: from awais-Precision-M4700.pkl.mentorg.com (137.202.0.76) by SVR-IES-FEM-01.mgc.mentorg.com (137.202.0.104) with Microsoft SMTP Server id 14.3.224.2; Mon, 7 Mar 2016 12:10:44 +0000 From: Awais Belal To: Date: Mon, 7 Mar 2016 17:10:32 +0500 Message-ID: <1457352632-4609-1-git-send-email-awais_belal@mentor.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Subject: [PATCH][RFC] systemd-serialgetty: allow baud rate overriding 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: Mon, 07 Mar 2016 12:10:45 -0000 Content-Type: text/plain In case a getty is required on a UART which is not being used as the kernel console, the current agetty invocation fails to obey the baud rate configured through the SERIAL_CONSOLES variable because it uses --keep-baud. Signed-off-by: Awais Belal --- meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service b/meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service index 182167b..e8b027e 100644 --- a/meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service +++ b/meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service @@ -21,7 +21,7 @@ IgnoreOnIsolate=yes [Service] Environment="TERM=xterm" -ExecStart=-/sbin/agetty -8 -L --keep-baud %I @BAUDRATE@ $TERM +ExecStart=-/sbin/agetty -8 -L %I @BAUDRATE@ $TERM Type=idle Restart=always RestartSec=0 -- 1.9.1