From: Emanuele Giuseppe Esposito on
gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2917#note_1776...
I would like some opinion here. The place where I store the addons rn is
wrong. According to the spec, they will need to go in either
/usr/lib/linux/extra.d/ for global addons
/usr/lib/linux/<uname>/<UKI_NAME>.efi.extra.d/ for local addons
The addons generated in kernel.spec are global or local addons?
- If they are global (meaning used by all UKIs), then the MR is fine as it is.
- If it's local addons (only used by the UKI built), then kernel-install needs
to be extended, because the UKI name is the machine ID, and it's provided to
kernel-install via some env variable that I don't think can control in the
kernel.specfile. So in that case this MR would need to be waiting that I
extend kernel-install first.