From b63412e7f0c673378e4e9785fb6b258216a6246d Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Sat, 12 Mar 2022 16:37:56 -0600 Subject: [PATCH] rootfs: Remove /var/log/journal Since `/var` is a tmpfs filesystem, having the Journal stored there is just a waste of space; `systemd-journald` already writes the journal to `/run/log/journal`. --- rootfs/post-fakeroot.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/rootfs/post-fakeroot.sh b/rootfs/post-fakeroot.sh index 13f4793..a78e8af 100755 --- a/rootfs/post-fakeroot.sh +++ b/rootfs/post-fakeroot.sh @@ -1,2 +1,3 @@ #!/bin/sh +rm -rfv "${TARGET_DIR}"/var/log/journal