diff options
author | Adriana Kobylak <anoo@us.ibm.com> | 2021-05-13 18:16:37 +0300 |
---|---|---|
committer | Adriana Kobylak <anoo@linux.ibm.com> | 2021-05-18 23:27:42 +0300 |
commit | f7ca44e336e520226ef5fc7f1de79be3206044ea (patch) | |
tree | 0da219a9f99975b62abb8e1c1f80cefe8c24f95d /meta-ibm/recipes-core/systemd/systemd | |
parent | 301b0fb16f48dbb138905ff8dc7606396af405ff (diff) | |
download | openbmc-f7ca44e336e520226ef5fc7f1de79be3206044ea.tar.xz |
ibm: Increase journal size for p10bmc
The p10bmc system uses a MMC flash chip with much larger storage than
a NOR chip. Increase the current journal size allocation from 2MB to 16MB
so that p1bmc saves more data for debug.
Tested: Verified that a witherspoon and p10bmc image had the expected
journal size file (2MB for witherspoon and 16MB for p10bmc) under
rootfs/lib/systemd/journald.conf.d/
Change-Id: Idcdb01bbf017c411c7b97406191e90774e8a8753
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
Diffstat (limited to 'meta-ibm/recipes-core/systemd/systemd')
-rw-r--r-- | meta-ibm/recipes-core/systemd/systemd/journald-size-policy-16MB.conf | 8 | ||||
-rw-r--r-- | meta-ibm/recipes-core/systemd/systemd/journald-size-policy-2MB.conf (renamed from meta-ibm/recipes-core/systemd/systemd/journald-size-policy.conf) | 0 |
2 files changed, 8 insertions, 0 deletions
diff --git a/meta-ibm/recipes-core/systemd/systemd/journald-size-policy-16MB.conf b/meta-ibm/recipes-core/systemd/systemd/journald-size-policy-16MB.conf new file mode 100644 index 000000000..a9f1d5723 --- /dev/null +++ b/meta-ibm/recipes-core/systemd/systemd/journald-size-policy-16MB.conf @@ -0,0 +1,8 @@ +# This file overrides a default for journald +# +# - Set a maximum size for journald in filesystem +# +# See journald.conf(5) for details + +[Journal] +SystemMaxUse=16M diff --git a/meta-ibm/recipes-core/systemd/systemd/journald-size-policy.conf b/meta-ibm/recipes-core/systemd/systemd/journald-size-policy-2MB.conf index fb84c6734..fb84c6734 100644 --- a/meta-ibm/recipes-core/systemd/systemd/journald-size-policy.conf +++ b/meta-ibm/recipes-core/systemd/systemd/journald-size-policy-2MB.conf |