diff options
author | Thuy Tran <thuy.tran.xh@rvc.renesas.com> | 2017-11-01 13:50:54 +0700 |
---|---|---|
committer | Thuy Tran <thuy.tran.xh@rvc.renesas.com> | 2017-11-24 20:15:57 +0700 |
commit | d6eff077c4a3afbe39f8ee1b2ad1a19a716ce31c (patch) | |
tree | be9712be8138d2cf2caefa24d3ab0c51136dfd70 /meta-rcar-gen3/recipes-core/systemd/systemd_%.bbappend | |
parent | be931f019eacc2ae019622079092792ba008e1b5 (diff) |
rcar-gen3: systemd: WORKAROUND to fix timeout dev-ttySN.device
This commit makes backporting changes from upstream systemd to fix
timeout dev-ttySN.device by following:
[systemd]
- Set journal RuntimeMaxSize to 64M as default [1]
[systemd-serialgetty]
- Use the default RestartSec [2]
[1] From Poky rev: d41968d8a8bd572b2892762f7092868950465014
[2] From Systemd rev: 4bf04322b8b7ecca4f3d65cfc642d0ac16356129
Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com>
Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
Diffstat (limited to 'meta-rcar-gen3/recipes-core/systemd/systemd_%.bbappend')
-rw-r--r-- | meta-rcar-gen3/recipes-core/systemd/systemd_%.bbappend | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/meta-rcar-gen3/recipes-core/systemd/systemd_%.bbappend b/meta-rcar-gen3/recipes-core/systemd/systemd_%.bbappend index f414a2b..1fe259a 100644 --- a/meta-rcar-gen3/recipes-core/systemd/systemd_%.bbappend +++ b/meta-rcar-gen3/recipes-core/systemd/systemd_%.bbappend @@ -1 +1,9 @@ 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 +} |