base: 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:
1 parent
0ff94b1b16
commit
f3840319f3
2 files changed
+8
No files matched your search
@@ -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
|
||||||
Reference in new issue
Block a user