I just saw the sqlite-shm corruption in https://gitlab.com/redhat/centos-stream/containers/bootc/-/merge_requests/437#note_2372766792 so let's just go ahead and turn on rpmdb_normalize which also aids the reproducibility of the rpmdb. While we're here let's also add a long overdue "unit test" for the rootfs. This operates as a container build that mounts the container-under-test as part of a multi-stage build. Signed-off-by: Colin Walters <walters@verbum.org>
30 lines
624 B
YAML
30 lines
624 B
YAML
# This file configures things relevant to `rpm-ostree compose postprocess`.
|
|
|
|
# We want content lifecycled with the image
|
|
opt-usrlocal: "root"
|
|
|
|
# https://github.com/CentOS/centos-bootc/issues/167
|
|
machineid-compat: true
|
|
|
|
rpmdb: target
|
|
# We never want rpmdb.sqlite-shm as it's unreproducible
|
|
rpmdb-normalize: true
|
|
|
|
ignore-removed-users:
|
|
- root
|
|
ignore-removed-groups:
|
|
- root
|
|
etc-group-members:
|
|
- wheel
|
|
- systemd-journal
|
|
- adm
|
|
|
|
check-passwd:
|
|
type: "file"
|
|
filename: "passwd"
|
|
check-groups:
|
|
type: "file"
|
|
filename: "group"
|
|
|
|
automatic-version-prefix: "${releasever}.<date:%Y%m%d>"
|
|
mutate-os-release: "${releasever}"
|