aboutsummaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3/recipes-core/systemd/systemd-serialgetty.bbappend
diff options
context:
space:
mode:
Diffstat (limited to 'meta-rcar-gen3/recipes-core/systemd/systemd-serialgetty.bbappend')
-rw-r--r--meta-rcar-gen3/recipes-core/systemd/systemd-serialgetty.bbappend6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta-rcar-gen3/recipes-core/systemd/systemd-serialgetty.bbappend b/meta-rcar-gen3/recipes-core/systemd/systemd-serialgetty.bbappend
new file mode 100644
index 0000000..f8d6e66
--- /dev/null
+++ b/meta-rcar-gen3/recipes-core/systemd/systemd-serialgetty.bbappend
@@ -0,0 +1,6 @@
+# W/A to fix serial-getty@.service timeout
+do_install_append () {
+ sed -e "/Before=getty.target/a Before=getty@tty1.service" \
+ -e "/.*RestartSec.*/d" \
+ -i ${D}${systemd_unitdir}/system/serial-getty@.service
+}