How to add kernel parameters at systemd-boot automatically after update

Hello.
Just a question about how to add kernel parameters automatically after an update using systemd-boot.
It’s not a major issue, just how to add these parameters automatically, like grub (edit /etc/default/grub).
After an update, my /boot/loader/loader.conf and every entry at /boot/loader/entries/ are override.
My needed entries (add_efi_memmap amd_iommu=on iommu=pt amdgpu.audio=1 apparmor=1 security=apparmor udev.log_priority=3)
I can do it manually, but you know what they say about time and money. :wink:
Thanks.

The package systemd-boot-manager provides fucntionality for maintaining kernel arguments using a config file and hooks to maintain adding the kernel to the boot config.

2 Likes

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.