public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Ionen Wolkens <ionen@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Re: [PATCH 4/5] linux-mod-r1.eclass: make modules_process_dracut.conf.d public
Date: Tue, 18 Mar 2025 23:05:59 -0400	[thread overview]
Message-ID: <Z9o0l3Y3p6-nKxnU@eversor> (raw)
In-Reply-To: <Z9oRI3Yn3T7La3Ps@eversor>

[-- Attachment #1: Type: text/plain, Size: 4182 bytes --]

On Tue, Mar 18, 2025 at 08:34:43PM -0400, Ionen Wolkens wrote:
> On Tue, Mar 18, 2025 at 03:14:13AM -0000, Duncan wrote:
> > Nowa Ammerlaan posted on Mon, 17 Mar 2025 11:11:06 +0100 as excerpted:
> > 
> > > I had really hoped to receive more comments on my earlier RFC. [...]
> > > I really do want to know what others think so I can
> > > make a better judgment on whether or not my idea is really this crazy
> > > and if I should just shut up about it or not (so dear reader if you have
> > > an opinion then please share).
> > 
> > So because I carried over my own already "works for me" kernel maintenance 
> > scripts from Mandrake when I switched in 2004 and have continued 
> > maintaining and using them over the decades since, I normally try to stay 
> > out of Gentoo kernel packaging discussion. But given both the above 
> > explicit invitation and that as I've read the thread a thought occurred to 
> > me...
> > 
> > First, DKMS /is/ a cross-distro standard solution.  As such, I believe in 
> > general it should be reasonably supported in Gentoo unless it simply 
> > doesn't make sense (note that "doesn't make sense" can also include the 
> > case of simply no one stepping up to do it, not the case here).
> > 
> > But, the thought that occurred to me reading the thread, was that there 
> > are obvious parallels between this and another very significant and 
> > controversial now "cross distro standard solution" (which I guess I don't 
> > need to name explicitly).
> > 
> > As there, I believe "the Gentoo approach" should (again assuming developer 
> > willingness to do the work, seemingly the case here) make it available as 
> > an additional integrated *option*, while keeping the current Gentoo option 
> > as well.
> > 
> > So I support DKMS integration /as/ /an/ /option/.
> 
> If anything, if go forward with this, I'd rather that it be with the
> plan to (eventually) either make it the default after enough testing
> and then later drop support for the old way entirely (then merge the
> eclasses), or revert if we think it's no good.
> 
> One of the thing I did not like here is the idea to gain more ways
> to do the same thing that need to be tested to ensure some quality.
> Can't ignore it and leave it all to Nowa given if e.g. nvidia changes
> some path or something else and I don't test it on bump, then I push
> a broken package for all dkms users until someone reports it. Would
> even need to boot with it to be sure.

And looking at ebuilds in the PR, fair amount of ebuilds now have
extra `use dkms` logic to consider and not fully transparently handled
by the eclass. I'd rather see this dropped in the future to support
only one way whichever it is.

> 
> It's nice to have choices in general, but still need to draw some
> lines to keep things maintainable.
> 
> And if picking, in the end do we pick an option that requires to
> install sources and (imo) adds very little, or let the PM (that has
> access to sources unlike binary distros) handle it (with full control
> for handling issues) just like for dist kernels and improve on that
> as needed?

...not that I feel the dkms way is the right one (for us).

> 
> Either way, as I said initially, I won't revert if this gets merged
> (even if optional forever). Just stating that I don't like it and
> probably won't offer real support, not blocking it.
> 
> wrt merging eclasses, could add that I wasn't really against the
> support for this being in linux-mod-r1 directly except for the part
> where it did not work when not using modlist being confusing, in the
> end I'd probably just have asked for Nowa to add themselves as
> maintainer.
> 
> On a related note about modlist, I've been semi-regretting keeping that
> modlist-type idea from the original linux-mod eclass and felt that a
> simple emake wrapper (incl. modules args) for all packages "might" have
> been better and easier to use for ebuilds and not miss modules on bump
> and had been pondering "potential" deprecation in the future (not that
> I had really explored that idea yet, would need to check packages).
-- 
ionen

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

  parent reply	other threads:[~2025-03-19  3:06 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-14 12:48 [gentoo-dev] [PATCH 1/5] use.desc: document new dkms flag Nowa Ammerlaan
2025-03-14 12:48 ` [gentoo-dev] [PATCH 2/5] profiles: mask dkms flag where not available Nowa Ammerlaan
2025-03-14 12:48 ` [gentoo-dev] [PATCH 3/5] linux-mod-r1.eclass: move modlist processing into separate func Nowa Ammerlaan
2025-03-14 12:48 ` [gentoo-dev] [PATCH 4/5] linux-mod-r1.eclass: make modules_process_dracut.conf.d public Nowa Ammerlaan
2025-03-14 16:23   ` Ionen Wolkens
2025-03-14 19:47     ` Nowa Ammerlaan
2025-03-15  3:56       ` Ionen Wolkens
2025-03-17 10:11         ` Nowa Ammerlaan
2025-03-17 10:25           ` Alexey Sokolov
2025-03-18  3:14           ` [gentoo-dev] " Duncan
2025-03-19  0:34             ` Ionen Wolkens
2025-03-19  0:56               ` Ionen Wolkens
2025-03-19  1:07               ` Ionen Wolkens
2025-03-19  7:57                 ` Nowa Ammerlaan
2025-03-19  8:48                   ` Ionen Wolkens
2025-03-19 12:41                     ` Nowa Ammerlaan
2025-03-19 22:10                   ` Sam James
2025-03-19 22:37                     ` Eli Schwartz
2025-03-20  8:25                       ` Nowa Ammerlaan
2025-03-20  8:12                     ` Nowa Ammerlaan
2025-03-19  3:05               ` Ionen Wolkens [this message]
2025-03-19 22:11             ` Sam James
2025-03-17 16:23         ` [gentoo-dev] " Eli Schwartz
2025-03-14 12:48 ` [gentoo-dev] [PATCH 5/5] dkms.eclass: introduce new eclass Nowa Ammerlaan
2025-03-14 15:34   ` Alexey Sokolov
2025-03-14 15:44     ` Nowa Ammerlaan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Z9o0l3Y3p6-nKxnU@eversor \
    --to=ionen@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox