systemd: tune journald.conf a bit

This commit is contained in:
Stefan Saraev 2013-10-08 14:14:27 +03:00
parent b84747522e
commit 732d05d7fc

View File

@ -107,6 +107,11 @@ post_makeinstall_target() {
rm -rf $INSTALL/usr/lib/rpm
rm -f $INSTALL/usr/bin/kernel-install
# tune journald.conf
sed -e "s,^.*Compress=.*$,Compress=no,g" -i $INSTALL/etc/systemd/journald.conf
sed -e "s,^.*SplitMode=.*$,SplitMode=none,g" -i $INSTALL/etc/systemd/journald.conf
sed -e "s,^.*MaxRetentionSec=.*$,MaxRetentionSec=1week,g" -i $INSTALL/etc/systemd/journald.conf
# replace systemd-machine-id-setup with ours
mkdir -p $INSTALL/bin
rm -rf $INSTALL/bin/systemd-machine-id-setup