[oe-commits] Koen Kooi : systemd: add hack to fix parsing for machines without SERIAL_CONSOLE set

git version control git at git.openembedded.org
Fri May 27 08:29:44 UTC 2011


Module: meta-openembedded.git
Branch: master
Commit: a44a502de682111e6054af149ecd9a1464bcf440
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=a44a502de682111e6054af149ecd9a1464bcf440

Author: Koen Kooi <koen at dominion.thruhere.net>
Date:   Fri May 27 10:28:40 2011 +0200

systemd: add hack to fix parsing for machines without SERIAL_CONSOLE set

The recipe should stop installing the unit in that case

Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>

---

 meta-oe/recipes-core/systemd/systemd_git.bb |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/meta-oe/recipes-core/systemd/systemd_git.bb b/meta-oe/recipes-core/systemd/systemd_git.bb
index 3275465..670a427 100644
--- a/meta-oe/recipes-core/systemd/systemd_git.bb
+++ b/meta-oe/recipes-core/systemd/systemd_git.bb
@@ -6,6 +6,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=751419260aa954499f7abaabaa882bbe"
 DEPENDS = "readline udev dbus libcap2 libcgroup"
 DEPENDS += "${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"
 
+SERIAL_CONSOLE ?= "115200 /dev/ttyS0"
+
 PRIORITY = "optional"
 SECTION = "base/shell"
 





More information about the Openembedded-commits mailing list