On Fri, Sep 02, 2022 at 12:07:38PM +0100, Daniel P. Berrangé wrote:
On Fri, Sep 02, 2022 at 11:21:03AM +0200, Gerd Hoffmann wrote:
> Hi,
>
> > Thus my patch proposed two images, to be distributed in the same
> > 'kernel-virt-unified' sub-RPM.
> >
> > * vmlinuz-virt.efi created using dracut arg
> >
> > --kernel-cmdline 'console=ttyS0 console=tty0 quiet rhgb'
> >
> > * vmlinuz-virt-verbose.efi created using dracut arg
> >
> > --kernel-cmdline 'console=ttyS0 console=tty0'
>
> Hmm, I think we should look for a more elegant solution to this problem
> than having two large, 99% identical images.
>
> One option could be to have systemd-stub support multiple .cmdline
> sections and allowing the user to pick one of them.
>
> Another option could be to have a whitelist of options the user is
> allowed to add/remove which then could include stuff like 'console='
> and 'quiet'.
FYI, I filed an RFE with systemd to get their opinion on the idea
of alternative cmdline entries, and/or validated option lists:
https://github.com/systemd/systemd/issues/24539
So, how move forward with this best? Drop the verbose variant for now,
add support for that once systemd-stub support for multiple command
lines is sorted upstream?
Should we have a Fedora feature page for unified kernel support?
take care,
Gerd