Subject: Alpine installer firmare detection

From: antoniompini <[email-masked]>
Date: Fri, 8 Jan 2021 14:03:40 -0800

Hi,

I'd like to suggest a possible improvement to the Alpine installer.
Alpine installs quite a bit of firmware and, after the instalation, I have to get rid of most of it.
Debian installer has a nice script by which it detects and allows to install only the firmware which is really needed.
It works remarkably well, and I haven't found such feature on any other distro.
I think it'd be cool to see this implemented on Alpine, in keeping with the minimalistic approach.

---

From: Milan P. Stanić <[email-masked]>
Date: Sat, 9 Jan 2021 00:31:23 +0100

> I think it'd be cool to see this implemented on Alpine, in keeping with the minimalistic approach.

something like this:
modinfo `lsmod | grep -v Module | awk -e '{ print $1 }'` | grep ^firmware

and search which of linux-firmware-$name contains them

---

From: Jeff Pohlmeyer <[email-masked]>
Date: Fri, 8 Jan 2021 20:24:25 -0600

> modinfo `lsmod | grep -v Module | awk -e '{ print $1 }'` | grep ^firmware

Or:
modinfo -F firmware $(awk '{print $1}' /proc/modules)

 - Jeff

---

From: Natanael Copa <[email-masked]>
Date: Wed, 20 Jan 2021 10:25:16 +0100

On Fri, 8 Jan 2021 14:03:40 -0800

> I think it'd be cool to see this implemented on Alpine, in keeping with the minimalistic approach.

yes. This should be relatively straightforward to implement. I didn't
have time for the 3.13 release though. (I did start on it though)

I suggest that you create an issue for it.

-nc

---

From: antoniompini <[email-masked]>
Date: Wed, 20 Jan 2021 09:47:57 -0800

I will. Thanks for your answer and the good work on Alpine.