linux-image-generic should suggest linux-firmware instead of depending on it

Bug #1948669 reported by Louis Sautier
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux-meta (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Hello,
At the moment, the only way to install linux-modules-extra and keep it up-to-date is to rely on linux-image-generic:
# lsb_release -rd
Description: Ubuntu 20.04.3 LTS
Release: 20.04
# apt-cache policy linux-image-generic
linux-image-generic:
  Installed: (none)
  Candidate: 5.4.0.89.93
  Version table:
     5.4.0.89.93 500
        500 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages
     5.4.0.26.32 500
        500 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages
# apt rdepends linux-modules-extra-5.4.0-89-generic
linux-modules-extra-5.4.0-89-generic
Reverse Depends:
  Depends: linux-image-generic

However, installing linux-image-generic pulls linux-firmware:
# apt depends linux-image-generic
linux-image-generic
  Depends: linux-image-5.4.0-89-generic
  Depends: linux-modules-extra-5.4.0-89-generic
  Depends: linux-firmware
  Depends: intel-microcode
  Depends: amd64-microcode
  Recommends: thermald

I specifically need linux-modules-extra because it contains the r8169 module which some Ethernet controllers require. The driver doesn't need any of the firmware blobs but because of the way it is packaged, I end up creating Ubuntu installations several hundred megabytes larger than necessary (in my case, these extra megabytes do matter). The initramfs also gains a few dozen megabytes.

Would it please be possible to either:
- mark linux-firmware as "Recommends" instead of "Depends"?
- create a metapackage that pulls only the latest version of linux-modules-extra and nothing else?

In addition, I'm not 100% sure linux-modules-extra should have a hard dependency on crda or wireless-crda, maybe they could also be marked as recommended instead?

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in linux-meta (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.