Patchwork [meta-efl,meta-oe,09/15] systemd-serialgetty: use better default SERIAL_CONSOLE

login
register
mail settings
Submitter Martin Jansa
Date Nov. 1, 2011, 8:27 a.m.
Message ID <04a16e945c48abcda34fff59791d4b0a80bfbfba.1320135926.git.Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/14111/
State Accepted
Commit 592e24e04321e65bdec48f038c85e4a2526411dc
Headers show

Comments

Martin Jansa - Nov. 1, 2011, 8:27 a.m.
* having /dev/ttySO fails with:
  | ln: failed to create symbolic link
  `/OE/shr-core/tmp/work/nokia900-oe-linux-gnueabi/systemd-serialgetty-1.0-r0/image/etc/systemd/system/getty.target.wants/serial-getty@/dev/ttyS0.service':
  No such file or directory

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 .../recipes-core/systemd/systemd-serialgetty.bb    |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

Patch

diff --git a/meta-oe/recipes-core/systemd/systemd-serialgetty.bb b/meta-oe/recipes-core/systemd/systemd-serialgetty.bb
index 86d833e..2b88d0c 100644
--- a/meta-oe/recipes-core/systemd/systemd-serialgetty.bb
+++ b/meta-oe/recipes-core/systemd/systemd-serialgetty.bb
@@ -2,7 +2,9 @@  DESCRIPTION = "Systemd serial config"
 LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE;md5=751419260aa954499f7abaabaa882bbe"
 
-SERIAL_CONSOLE ?= "115200 /dev/ttyS0"
+PR = "r1"
+
+SERIAL_CONSOLE ?= "115200 ttyS0"
 
 SRC_URI = "file://LICENSE \
            file://serial-getty@.service"