Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

initramfs rebuilt with every commit #4305

Open
apollo13 opened this issue Feb 13, 2023 · 1 comment
Open

initramfs rebuilt with every commit #4305

apollo13 opened this issue Feb 13, 2023 · 1 comment
Labels
triaged This issue was triaged

Comments

@apollo13
Copy link

Host system details

Fedora 37, podman 4.3.1, running via a coreos-assembler container image.

[root@fabcca39d680 /]# rpm-ostree status
error: This system was not booted via libostree; found container=oci environment variable.
Currently, most rpm-ostree commands only work on ostree-based host systems.

Running cosa build multiple times and comparing the resulting commits results in:

$ ostree diff --repo=repo_imported_both ref2 ref3
M    /usr/etc/authselect/dconf-db
M    /usr/etc/authselect/dconf-locks
M    /usr/etc/authselect/fingerprint-auth
M    /usr/etc/authselect/nsswitch.conf
M    /usr/etc/authselect/password-auth
M    /usr/etc/authselect/postlogin
M    /usr/etc/authselect/smartcard-auth
M    /usr/etc/authselect/system-auth
M    /usr/etc/pki/ca-trust/extracted/java/cacerts
M    /usr/lib/os-release
M    /usr/lib/modules/6.1.6-200.fc37.x86_64/initramfs.img
M    /usr/lib/sysimage/rpm-ostree-base-db/rpmdb.sqlite
M    /usr/share/rpm/rpmdb.sqlite

This adds 100MB on every rebuild. @cgwalters recommended to open a ticket here first, if this is not the correct place, please point me to the correct location.

@cgwalters
Copy link
Member

The rpmdb issue is tracked over at rpm-software-management/rpm#2219

The initramfs...hmm, I think this may be fallout from the zstd change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triaged This issue was triaged
Projects
None yet
Development

No branches or pull requests

2 participants