From 270cb8272eae33b6b4be0b1fdfff271e90df4207 Mon Sep 17 00:00:00 2001 From: Will Woods Date: Tue, 23 Apr 2013 14:29:00 -0400 Subject: [PATCH] Remove /var/log/journal so journald won't write to overlay It's pretty pointless to copy data from /run/log/journal to /var/log/journal, since both of those are in-memory filesystems. This should somewhat reduce RAM use during installation. --- share/runtime-postinstall.tmpl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/share/runtime-postinstall.tmpl b/share/runtime-postinstall.tmpl index e9a4d480..94f113cc 100644 --- a/share/runtime-postinstall.tmpl +++ b/share/runtime-postinstall.tmpl @@ -38,6 +38,9 @@ systemctl mask fedora-configure.service fedora-loadmodules.service \ fedora-autorelabel.service fedora-autorelabel-mark.service \ fedora-wait-storage.service media.mount +## Don't write the journal to the overlay, just keep it in RAM +remove var/log/journal + ## install some basic configuration files append etc/resolv.conf "" append etc/fstab ""