tier-0: Add tmpfiles.d entry for /var/lib/rpm-state

Needed for https://github.com/containers/bootc/pull/1101
which will cross check /var and tmpfiles.d.
This commit is contained in:
Colin Walters 2025-02-12 15:15:30 -05:00
parent 7b4e013126
commit 0b2da8b48d
2 changed files with 8 additions and 0 deletions

View File

@ -16,6 +16,7 @@ remove-from-packages:
include: include:
- postprocess-conf.yaml - postprocess-conf.yaml
- tmpfiles.yaml
- bootc.yaml - bootc.yaml
- bootupd.yaml - bootupd.yaml
- ostree.yaml - ostree.yaml

7
tier-0/tmpfiles.yaml Normal file
View File

@ -0,0 +1,7 @@
postprocess:
- |
#!/bin/bash
cat >/usr/lib/tmpfiles.d/bootc-base-rpmstate.conf <<'EOF'
# Workaround for https://bugzilla.redhat.com/show_bug.cgi?id=771713
d /var/lib/rpm-state 0755 - - -
EOF