summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-core/systemd/systemd-serialgetty.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-core/systemd/systemd-serialgetty.bb b/meta/recipes-core/systemd/systemd-serialgetty.bb
index 1c34d5c747..768b1308f2 100644
--- a/meta/recipes-core/systemd/systemd-serialgetty.bb
+++ b/meta/recipes-core/systemd/systemd-serialgetty.bb
@@ -8,6 +8,8 @@ SERIAL_CONSOLE ?= "115200 ttyS0"
8 8
9SRC_URI = "file://serial-getty@.service" 9SRC_URI = "file://serial-getty@.service"
10 10
11S = "${WORKDIR}"
12
11do_install() { 13do_install() {
12 if [ ! -z "${SERIAL_CONSOLES}" ] ; then 14 if [ ! -z "${SERIAL_CONSOLES}" ] ; then
13 default_baudrate=`echo "${SERIAL_CONSOLES}" | sed 's/\;.*//'` 15 default_baudrate=`echo "${SERIAL_CONSOLES}" | sed 's/\;.*//'`