My (old) Asus Zenbook refuses to load freestanding-00-intel-ucode.cpio on boot presumably because of an UEFI issue tied to the laptop. After each kernel update, I need to run a script to remove freestanding-00-intel-ucode.cpio from the boot parameters or else the laptop won’t boot.
Is there any way to make swupd call a custom script after updating so I can automate this process?
At the moment my workaround is to use an alias that calls swupd update and then remove the ucode, and disable automatic updates. This works but isn’t ideal.
Would appreciate any and all hints and tips.