Hi. I’ve tried pushing down on initramfs sizes in one of the last gifts of time I’m gonna bestow upon my Tumbleweed install before I switch to OpenMandriva (if all goes well).
So, I’ve modified /etc/dracut.conf.d/_.conf (very creative name, I know), also deleting all the other conf files (after checking what they’re doing). This is what it has now:
persistent_policy="by-partuuid"
hostonly="yes"
hostonly_mode="strict"
aggressive_strip="yes"
filesystems="btrfs"
compress="zstd"
omit_dracutmodules=" suse-xfs pcr-signature "
Well, well, well. Turns out it’s still not compressing the file; size is about the same and file gives it as CPIO archive. (Zstd has been installed, so it’s not that.)
Dracut has been invoked via sdbootutil. (sdbootutil -v --no-reuse-initrd add-all-kernels
)
I’ve taken note of the Dracut cmdline that lsinitrd tells me has been used to create the initramfs, it had --reproducible in it. I’ve tracked that down to sdbootutil, and from lack of a better option, I’ve directly altered the script and commented that parameter out (it’s somewhat in the middle of the file).
lsinitrd on the new initramfs confirms that --reproducible hasn’t been added that time around, but it wasn’t the culprit (not sure whether it could have been).
Now I wonder, is initramfs compression even supposed to work on openSUSE? I thought it to be a rather basic feature, and I’ve used it well on Void Linux.
By the way, the new forum is weird (but I’m not sure I’ll care anymore) and for whatever reason, I’ve found the i10n dracut module to be hardcoded to include the eurlatgr font, which, however, I’ve confirmed, is upstream weirdness: dracut/modules.d/10i18n/module-setup.sh at 5d2bda46f4e75e85445ee4d3bd3f68bf966287b9 · dracutdevs/dracut · GitHub .