From 749d5b818a8cc0163c4878ba330223c4c90cb847 Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Wed, 15 Mar 2023 18:59:41 -0500 Subject: [PATCH] Omit /var/log/journal from rootfs image The persistent journal is stored in a subdirectory of `/var/log/journal` named for the current machine ID. Since `/etc/machine-id` is not writable, the machine ID changes with every boot. This effectively makes the journal for previous boots inaccessible, so there's really not much point in keeping them around. --- yellow/squashfs.exclude | 1 + 1 file changed, 1 insertion(+) diff --git a/yellow/squashfs.exclude b/yellow/squashfs.exclude index f2e4d45..98dba43 100644 --- a/yellow/squashfs.exclude +++ b/yellow/squashfs.exclude @@ -54,3 +54,4 @@ var/cache/edb var/db/Makefile var/db/pkg var/lib/portage +var/log/journal