Re: [gentoo-user] Eliminating unwanted linux-firmware blobs.

2024-06-28 Thread Eli Schwartz
On 6/28/24 6:31 PM, Peter Humphrey wrote:
> On Friday, 28 June 2024 20:32:11 BST Tsukasa Mcp_Reznor wrote:
> 
>> Remove the date.so it becomes
>> /etc/portage/savedconfig/sys-kernel/linux-firmware then it applies to all
>> of them and not the specified version.
>>
>> Hope that helps
> 
> It certainly does. I wish I'd known that years ago: it would have saved me an 
> awful lot of renaming.


The elog message states:


 * Your configuration for sys-kernel/linux-firmware-20240610-r1 has been
saved in
 * "/etc/portage/savedconfig/sys-kernel/linux-firmware-20240610-r1" for
your editing pleasure.
 * You can edit these files by hand and remerge this package with
 * USE=savedconfig to customise the configuration.
 * You can rename this file/directory to one of the following for
 * its configuration to apply to multiple versions:
 * ${PORTAGE_CONFIGROOT}/etc/portage/savedconfig/
 * [${CTARGET}|${CHOST}|""]/${CATEGORY}/[${PF}|${P}|${PN}]


I admit that this is a bit hard to analyze...


-- 
Eli Schwartz


OpenPGP_0x84818A6819AF4A9B.asc
Description: OpenPGP public key


OpenPGP_signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Eliminating unwanted linux-firmware blobs.

2024-06-28 Thread Peter Humphrey
On Friday, 28 June 2024 20:32:11 BST Tsukasa Mcp_Reznor wrote:

> Remove the date.so it becomes
> /etc/portage/savedconfig/sys-kernel/linux-firmware then it applies to all
> of them and not the specified version.
> 
> Hope that helps

It certainly does. I wish I'd known that years ago: it would have saved me an 
awful lot of renaming.

-- 
Regards,
Peter.






Re: [gentoo-user] Eliminating unwanted linux-firmware blobs.

2024-06-28 Thread Tsukasa Mcp_Reznor
Remove the date.so it becomes 
/etc/portage/savedconfig/sys-kernel/linux-firmware
then it applies to all of them and not the specified version.

Hope that helps


From: Grant Edwards 
Sent: Friday, June 28, 2024 12:17 PM
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Eliminating unwanted linux-firmware blobs.

Is there any graceful way to handle the elimination of unwanted
linux-firmware blobs when doing an update?

I believe I understand the process as outlined at
https://wiki.gentoo.org/wiki/Linux_firmware:

 1. install/upgrade sys-kernel/linux-firmware
 2. edit /etc/portage/savedconfig/sys-kernel/linux-firmware-ddmm
 3. re-emerge sys-kernel/linux-firmware with the savedcofnig USE flag

I've tried that a few times, but it's rather annoying to have to do
that every time linux-firmware gets updated.

AFAICT, the list of three or four blobs that I actually need on a
specific machine never changes.

It seems like there ought to be a way to configure that required
firmware list and have the emerge -u "just work", but I can't find
it. Have I missed something?

Yes, I know...
  Disk space is cheap.
  Premature optimization ...
  etc.

It still annoys me.

--
Grant





Re: [gentoo-user] Eliminating unwanted linux-firmware blobs.

2024-06-28 Thread Waldo Lemmer
On Fri, Jun 28, 2024, 18:28 Vitaliy Perekhovy  wrote:

> On Fri, Jun 28, 2024 at 04:17:23PM -, Grant Edwards wrote:
> > Is there any graceful way to handle the elimination of unwanted
> > linux-firmware blobs when doing an update?
> >
> > I believe I understand the process as outlined at
> > https://wiki.gentoo.org/wiki/Linux_firmware:
> >
> >  1. install/upgrade sys-kernel/linux-firmware
> >  2. edit /etc/portage/savedconfig/sys-kernel/linux-firmware-ddmm
> >  3. re-emerge sys-kernel/linux-firmware with the savedcofnig USE flag
> >
> > I've tried that a few times, but it's rather annoying to have to do
> > that every time linux-firmware gets updated.
> >
> > AFAICT, the list of three or four blobs that I actually need on a
> > specific machine never changes.
> >
> > It seems like there ought to be a way to configure that required
> > firmware list and have the emerge -u "just work", but I can't find
> > it. Have I missed something?
> >
> > Yes, I know...
> >   Disk space is cheap.
> >   Premature optimization ...
> >   etc.
> >
> > It still annoys me.
> >
> > --
> > Grant
>
> Save your firmware list in
> /etc/portage/savedconfig/sys-kernel/linux-firmware
> That's it.
>
> --
> Best regards,
> Vitaliy Perekhovy
>

After every update to sys-kernel/linux-firmware, you may get the following
output:

 * IMPORTANT: config file
'/etc/portage/savedconfig/sys-kernel/linux-firmware-20240610' needs
updating.
 * See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
 * sections of the emerge man page to learn how to update config files.

It's a good idea to compare this file to your current file to see if any
firmware blobs have gotten updates. However, it's important to then discard
this file by choosing `z` in dispatch-conf.

Regards,
Waldo

>


Re: [gentoo-user] Eliminating unwanted linux-firmware blobs.

2024-06-28 Thread Vitaliy Perekhovy
On Fri, Jun 28, 2024 at 04:17:23PM -, Grant Edwards wrote:
> Is there any graceful way to handle the elimination of unwanted
> linux-firmware blobs when doing an update?
> 
> I believe I understand the process as outlined at
> https://wiki.gentoo.org/wiki/Linux_firmware:
> 
>  1. install/upgrade sys-kernel/linux-firmware
>  2. edit /etc/portage/savedconfig/sys-kernel/linux-firmware-ddmm
>  3. re-emerge sys-kernel/linux-firmware with the savedcofnig USE flag
> 
> I've tried that a few times, but it's rather annoying to have to do
> that every time linux-firmware gets updated.
> 
> AFAICT, the list of three or four blobs that I actually need on a
> specific machine never changes.
> 
> It seems like there ought to be a way to configure that required
> firmware list and have the emerge -u "just work", but I can't find
> it. Have I missed something?
> 
> Yes, I know...
>   Disk space is cheap.
>   Premature optimization ...
>   etc.
> 
> It still annoys me.
> 
> --
> Grant

Save your firmware list in /etc/portage/savedconfig/sys-kernel/linux-firmware
That's it.

-- 
Best regards,
Vitaliy Perekhovy


signature.asc
Description: PGP signature


[gentoo-user] Eliminating unwanted linux-firmware blobs.

2024-06-28 Thread Grant Edwards
Is there any graceful way to handle the elimination of unwanted
linux-firmware blobs when doing an update?

I believe I understand the process as outlined at
https://wiki.gentoo.org/wiki/Linux_firmware:

 1. install/upgrade sys-kernel/linux-firmware
 2. edit /etc/portage/savedconfig/sys-kernel/linux-firmware-ddmm
 3. re-emerge sys-kernel/linux-firmware with the savedcofnig USE flag

I've tried that a few times, but it's rather annoying to have to do
that every time linux-firmware gets updated.

AFAICT, the list of three or four blobs that I actually need on a
specific machine never changes.

It seems like there ought to be a way to configure that required
firmware list and have the emerge -u "just work", but I can't find
it. Have I missed something?

Yes, I know...
  Disk space is cheap.
  Premature optimization ...
  etc.

It still annoys me.

--
Grant