aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThuy Tran <thuy.tran.xh@rvc.renesas.com>2017-12-25 18:52:58 +0700
committerThuy Tran <thuy.tran.xh@rvc.renesas.com>2018-01-30 10:07:59 +0700
commit8db999c70c97514f4fe835a167c65c46250e12a4 (patch)
treee39060ad60e93bd489c747902552058fe5758625
parente1ca7bb44a2ba76c63fa850c37f949ebdc25b8b2 (diff)
Revert "rcar-gen3: systemd: WORKAROUND to fix timeout dev-ttySN.device"
This fix is not necessary for rocko branch. Hence, we can remove it. This reverts commit d6eff077c4a3afbe39f8ee1b2ad1a19a716ce31c. Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
-rw-r--r--meta-rcar-gen3/recipes-core/systemd/systemd-serialgetty.bbappend6
-rw-r--r--meta-rcar-gen3/recipes-core/systemd/systemd_%.bbappend8
2 files changed, 0 insertions, 14 deletions
diff --git a/meta-rcar-gen3/recipes-core/systemd/systemd-serialgetty.bbappend b/meta-rcar-gen3/recipes-core/systemd/systemd-serialgetty.bbappend
deleted file mode 100644
index f8d6e66..0000000
--- a/meta-rcar-gen3/recipes-core/systemd/systemd-serialgetty.bbappend
+++ /dev/null
@@ -1,6 +0,0 @@
-# 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
-}
diff --git a/meta-rcar-gen3/recipes-core/systemd/systemd_%.bbappend b/meta-rcar-gen3/recipes-core/systemd/systemd_%.bbappend
index 1fe259a..f414a2b 100644
--- a/meta-rcar-gen3/recipes-core/systemd/systemd_%.bbappend
+++ b/meta-rcar-gen3/recipes-core/systemd/systemd_%.bbappend
@@ -1,9 +1 @@
PACKAGECONFIG_remove = "timesyncd"
-
-# Set journal RuntimeMaxSize to 64M as default to fix timeout
-# dev-ttySN.device's when enable debug and use journal
-# as systemd.log_target
-do_install_append () {
- sed -e 's/.*RuntimeMaxUse.*/RuntimeMaxUse=64M/' \
- -i ${D}${sysconfdir}/systemd/journald.conf
-}