tier-0: Add /var/lib/rpm-state by default

This empty directory is required by some RPM scripts. Historically
rpm-ostree's script invocations made this by default, but that
doesn't happen with direct rpm or dnf.

Signed-off-by: Colin Walters <walters@verbum.org>
This commit is contained in:
Colin Walters 2025-01-22 10:17:27 -05:00
parent 9bc06392c3
commit 92e7c1b2e1
1 changed files with 2 additions and 0 deletions

View File

@ -2,3 +2,5 @@
# https://gitlab.com/fedora/bootc/base-images/-/issues/28
set -xeuo pipefail
ln -s ../run var/run
# https://gitlab.com/fedora/bootc/tracker/-/issues/58
mkdir -p var/lib/rpm-state