Re: Small rant: installer environment size

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2022-12-08 at 16:04 +0000, Peter Robinson wrote:
> On Thu, Dec 8, 2022 at 3:54 PM Miroslav Suchý <msuchy@xxxxxxxxxx> wrote:
> > 
> > Dne 08. 12. 22 v 13:58 Peter Robinson napsal(a):
> > > Ideas on how to solve that problem welcome.
> > 
> > Do we need - at install time - firmware for:
> > 
> > * v4l
> > 
> > * dvb
> > 
> > * cameras
> 
> No, and we're looking at splitting those out, but the fact is they are
> a tiny amount of the overall firmware collection. You could even argue
> either way for something like bluetooth due to it sometimes being used
> by keyboards.

We actually already strip a lot of those in lorax. There are two bits
of lorax templates dealing with firmware files. First, we install "*-
firmware" but exclude a bunch of packages that have already been split
out to help with this problem:

https://github.com/weldr/lorax/blob/master/share/templates.d/99-generic/runtime-install.tmpl#L29

then, in cleanup, we wipe a bunch of files that have not yet been split
out from linux-firmware but which we know the installer env doesn't
need:

https://github.com/weldr/lorax/blob/master/share/templates.d/99-generic/runtime-cleanup.tmpl#L201

so as I said, we're already dealing with the low-hanging fruit :(
Splitting the things currently dealt with in runtime-cleanup out from
linux-firmware would make things cleaner (I really hate runtime-cleanup
- it's sadly necessary, but we should minimize usage of it as much as
possible), but not smaller.
-- 
Adam Williamson
Fedora QA
IRC: adamw | Twitter: adamw_ha
https://www.happyassassin.net

_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux