On Fri, May 26, 2023 at 06:06:46AM +0100, Sam James wrote:
>
> Ionen Wolkens writes:
>
> > Primarily intended for use by linux-mod-r1.eclass, which needs
> > a global IUSE to control stripping of kernel modules *before*
> > signatures and compression (alternative would be to simply never
> > str
Ionen Wolkens writes:
> Primarily intended for use by linux-mod-r1.eclass, which needs
> a global IUSE to control stripping of kernel modules *before*
> signatures and compression (alternative would be to simply never
> strip, but that seem sub-optimal).
>
> Originally meant to be USE=modules-st
Randomly migrating myself as a very simple migration example (don't
actually use this, no hardware). Notably makes the CC_IS_CLANG checks
from the old ebuild unnecessary.
Signed-off-by: Ionen Wolkens
---
.../ryzen_smu-0.1.2_p20211205-r1.ebuild | 28 +++
1 file changed, 28 i
Here's a rough overview of -r0 -> -r1 differences with occasional
rationale behind them if felt relevant (for migrating, refer to
the eclassdocs instead as this does not really document usage
changes):
Features that did not exist in previous eclass (not exhaustive):
* automatic modules signing sup
Similarly to gyakovlev's proposition for signing back in 2018 (with
a module-sign IUSE), linux-mod-r1.eclass will make use of this to
enable/disable signing and it would be inconvenient if consumers
had to define it.
An alternative could be to automagic enable when the kernel has
"sign by default"
Primarily intended for use by linux-mod-r1.eclass, which needs
a global IUSE to control stripping of kernel modules *before*
signatures and compression (alternative would be to simply never
strip, but that seem sub-optimal).
Originally meant to be USE=modules-strip or similar, but this can
have a
Posting here for early general feedback / review, see also the PR[1].
Please try to migrate some ebuilds using it, small issues / nitpicks
can be resolved anytime but usage changes could be messy after merge.
Refer to eclass docs for usage and migration instructions. Commit
message for linux-mod-
Signed-off-by: Mike Gilbert
---
eclass/udev.eclass | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/eclass/udev.eclass b/eclass/udev.eclass
index ac94f98221aa..7c587dc37f2f 100644
--- a/eclass/udev.eclass
+++ b/eclass/udev.eclass
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gento