Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #94191

Re: Meta packages for modules

Path csiph.com!2.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From Ben Hutchings <ben@decadent.org.uk>
Newsgroups linux.debian.kernel
Subject Re: Meta packages for modules
Date Wed, 23 Sep 2026 20:10:01 +0200
Message-ID <NGzzP-1ny0-3@gated-at.bofh.it> (permalink)
References <NGzzP-1ny0-5@gated-at.bofh.it> <NqtI5-a3as-1@gated-at.bofh.it>
X-Original-To debian-kernel@lists.debian.org
X-Mailbox-Line From debian-kernel-request@lists.debian.org Wed Sep 23 18:01:55 2026
Old-Return-Path <ben@decadent.org.uk>
X-Amavis-Spam-Status No, score=-1.9 tagged_above=-10000 required=5.3 tests=[BAYES_00=-1.9] autolearn=ham autolearn_force=no
X-Policyd-Weight NOT_IN_SBL_XBL_SPAMHAUS=-1.5 CL_IP_EQ_FROM_MX=-3.1; rate: -4.6
Content-Type multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-bp2z3mSExs2Dw1gtZYW0"
User-Agent Evolution 3.56.2-9
MIME-Version 1.0
X-Sa-Exim-Connect-IP 2a02:578:851f:1502:391e:c5f5:10e2:b9a3
X-Sa-Exim-Mail-From ben@decadent.org.uk
X-Sa-Exim-Scanned No (on maynard); SAEximRunCond expanded to false
X-Mailing-List <debian-kernel@lists.debian.org> archive/latest/157302
List-ID <debian-kernel.lists.debian.org>
List-URL <https://lists.debian.org/debian-kernel/>
List-Archive https://lists.debian.org/msgid-search/9becdbad09e5c8180d83cab692313ae1b445e9b6.camel@decadent.org.uk
Approved robomod@news.nic.it
Lines 110
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Wed, 23 Sep 2026 20:01:35 +0200
X-Original-Message-ID <9becdbad09e5c8180d83cab692313ae1b445e9b6.camel@decadent.org.uk>
X-Original-References <qtxnfa3k6xeqps7mt3yt4mdvn2pqnoabppgiv5dmdc264w4yvw@eo67cqwb7vet>
Xref csiph.com linux.debian.kernel:94191

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

On Mon, 2026-08-10 at 10:13 +0200, Bastian Blank wrote:
[...]
> One of my secondary goals, not sure how possible they are within Debian, is to split away rarely used modules, like most other distributions now do as well.
> This however now requires another image package to pull this in.
> 
> So I propose that we also introduce meta packages for the modules.
> This way we can offer the same guarantees then with the headers packages:
> - All versioned packages are of the same version
> - All meta packages are of the same version (and with it all the versioned packages for this version)
> 
> Users can select which modules package they want: the default one or the cloud one, just by installing the corresponding meta package.

But modules are duplicated between those, right?

> They can also opt-in into the extra modules by installing this separate meta package.

Do you plan to extend kernel-wedge to do that, or are you thinking of
something a bit simpler?

> All packages are kept in sync by the base dependency.
> 
> The package linux-image-cloud-amd64 is kept for correct upgrades.
> 
> Bastian
> 
> ## Proposed package layout
> ```
> Package: linux-image-7.2-amd64
> Depends:
>  linux-binary-7.2-amd64 (= ${Source-Version}),
>  linux-modules-7.2-amd64 (= ${Source-Version}) | linux-modules-main-7.2-amd64 (= ${Source-Version}),
> 
> Package: linux-image-amd64
> Depends:
>  linux-base-amd64 (= ${Source-Version}),
>  linux-image-7.2-amd64 (= ${Source-Version}),
>  linux-modules-amd64 (= ${Source-Version}) | linux-modules-main-amd64 (= ${Source-Version}),
> 
> Package: linux-image-cloud-amd64
> Depends:
>  linux-base-amd64 (= ${Source-Version}),
>  linux-image-7.2-amd64 (= ${Source-Version}),
>  linux-modules-cloud-amd64 (= ${Source-Version})
> 
> Package: linux-modules-7.2-amd64
> Depends:
>  linux-base-7.2-amd64 (= ${Source-Version}),
> Provides:
>  linux-modules-main-7.2-amd64 (= ${Source-Version}),
> Conflicts:
>  linux-modules-main-7.2-amd64,
> Replaces:
>  linux-modules-main-7.2-amd64,
> 
> Package: linux-modules-cloud-7.2-amd64
> Depends:
>  linux-base-7.2-amd64 (= ${Source-Version}),
> Provides:
>  linux-modules-main-7.2-amd64 (= ${Source-Version}),
> Conflicts:
>  linux-modules-main-7.2-amd64,
> Replaces:
>  linux-modules-main-7.2-amd64,
[...]

I think the virtual packages make this unnecessarily confusing.  To me,
linux-modules-7.2-amd64, as the default modules package for 7.2-amd64,
would also be seen as the "main" modules package.  Why not use only the
real package names?

Ben.

-- 
Ben Hutchings
Design a system any fool can use, and only a fool will want to use it.

Back to linux.debian.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Meta packages for modules Bastian Blank <waldi@debian.org> - 2026-08-10 10:40 +0200
  Re: Meta packages for modules Ben Hutchings <ben@decadent.org.uk> - 2026-09-23 20:10 +0200
    Re: Meta packages for modules Bastian Blank <waldi@debian.org> - 2026-09-23 20:50 +0200

csiph-web