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:
parent
7b4e013126
commit
0b2da8b48d
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
Loading…
Reference in New Issue