My laptop requires settings for sdhci and i915. I would like to have these in ansible/version control and deployed to modprobe.d.
However, atomic does not allow me to update the initrd correctly. It would be good if there was a way to generate the initrd for atomic images based on the content in the modprobe.d directory to allow customisation.
This should already be possible:
initramfs By default, the primary use case mode for rpm-ostree is to replicate an initramfs as part of a base layer. However, some use cases require locally regenerating it to add configuration or drivers. Use rpm-ostree initramfs to inspect the current status. Use --enable to turn on client side initramfs regeneration. A new deployment will be generated, and after reboot, further upgrades will continue regenerating. You must reboot for the new initramfs to take effect. To append additional custom arguments to the initramfs program (currently dracut), use --arg. For example, --arg=-I --arg=/etc/someconfigfile.
So all you need to do is figure out what dracut args you need to pass in order to include the files you want in the initrd and add them as --arg='your args' when you call rpm-ostree initramfs enable.
--arg='your args'
rpm-ostree initramfs enable
Metadata Update from @dustymabe: - Issue tagged with: question, workstation
closing this. please re-open if you have more questions or the proposed solution doesn't work.
Metadata Update from @dustymabe: - Issue close_status updated to: Fixed - Issue status updated to: Closed (was: Open)
Login to comment on this ticket.