From 0b2da8b48de367fd0018b04baa90691c2da58076 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Wed, 12 Feb 2025 15:15:30 -0500 Subject: [PATCH] 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. --- tier-0/manifest.yaml | 1 + tier-0/tmpfiles.yaml | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 tier-0/tmpfiles.yaml diff --git a/tier-0/manifest.yaml b/tier-0/manifest.yaml index a531a15..5fd83e4 100644 --- a/tier-0/manifest.yaml +++ b/tier-0/manifest.yaml @@ -16,6 +16,7 @@ remove-from-packages: include: - postprocess-conf.yaml + - tmpfiles.yaml - bootc.yaml - bootupd.yaml - ostree.yaml diff --git a/tier-0/tmpfiles.yaml b/tier-0/tmpfiles.yaml new file mode 100644 index 0000000..d37ef7f --- /dev/null +++ b/tier-0/tmpfiles.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