Merge branch 'rpmstate-tmpfiles' into 'main'

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

See merge request fedora/bootc/base-images!97
This commit is contained in:
Colin Walters (Red Hat) 2025-02-21 01:11:53 +00:00
commit 08e5f8ee97
2 changed files with 8 additions and 0 deletions

View File

@ -16,6 +16,7 @@ remove-from-packages:
include:
- postprocess-conf.yaml
- tmpfiles.yaml
- bootc.yaml
- bootupd.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