finalize.d: Ensure var/tmp in container root

There's a crazy history around this; what we really want is
to have this reliably generated by tmpfiles.d, the handling
for which I want to move to bootc. For now let's wedge this
into finalize.d alongside the few others here.

Signed-off-by: Colin Walters <walters@verbum.org>
This commit is contained in:
Colin Walters 2025-03-03 09:22:33 -05:00
parent f0ebf6250e
commit 82a4e874a4

View file

@ -4,3 +4,4 @@ set -xeuo pipefail
ln -s ../run var/run
# https://gitlab.com/fedora/bootc/tracker/-/issues/58
mkdir -p var/lib/rpm-state
test -d var/tmp || mkdir -m 1777 var/tmp