Merge branch 'custom-base-more3' into 'wip-baseimage-rework'

two small patches

See merge request fedora/bootc/base-images!92
This commit is contained in:
Colin Walters (Red Hat) 2025-02-13 12:28:21 +00:00
commit 44a72d8619
4 changed files with 14 additions and 1 deletions

View File

@ -14,5 +14,5 @@ set -xeuo pipefail
# Cleanup # Cleanup
/usr/share/doc/bootc-image-standard/stage-clean /usr/share/doc/bootc-image-standard/stage-clean
# And lint. # And lint.
bootc container lint bootc container lint --fatal-warnings
EORUN EORUN

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
base/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

View File

@ -0,0 +1,5 @@
# Workaround for https://github.com/konflux-ci/build-tasks-dockerfiles/pull/243
d /var/roothome/buildinfo 0755 - - -
d /var/roothome/buildinfo/content_manifests 0755 - - -
# Note we don't actually try to recreate the content; this just makes the linter ignore it
f /var/roothome/buildinfo/content_manifests/content-sets.json 0644 - - -