On Mon, 2022-11-21 at 16:39 -0500, Neal Gompa wrote:
> >
> > We could do the same thing SUSE does and switch to calling
> > scripts/tools to install into /boot and /boot/efi rather than doing it
> > directly from RPM. That would simplify the logic of bootupd and allow
> > it to just call these tools instead of having to go back and forth
> > between the package manager and the system environment.
>
> We already have such scripts: kernel-install and the plugins. The
> kernel %post (or %posttrans?) just calls kernel-install. Doing that
> kernel-install invocation from another context should just work.
>
We don't. We have it for the kernel, but not for shim, grub2, or anything else.
It's a stretch to call what we have for kernels "simple", of
course...:D
--
Adam Williamson
Fedora QA
IRC: adamw | Twitter: adamw_ha
https://www.happyassassin.net