Re: [gentoo-dev] [PATCH 1/4] profiles/use.desc: create USE=strip global USE flag

2023-05-25 Thread Ionen Wolkens
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

Re: [gentoo-dev] [PATCH 1/4] profiles/use.desc: create USE=strip global USE flag

2023-05-25 Thread Sam James
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

[gentoo-dev] [PATCH 4/4] app-admin/ryzen_smu: migrate to linux-mod-r1

2023-05-25 Thread Ionen Wolkens
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

[gentoo-dev] [PATCH 3/4] linux-mod-r1.eclass: new eclass, rewrite of linux-mod.eclass

2023-05-25 Thread Ionen Wolkens
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

[gentoo-dev] [PATCH 2/4] profiles/use.desc: create USE=modules-sign global USE flag

2023-05-25 Thread Ionen Wolkens
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"

[gentoo-dev] [PATCH 1/4] profiles/use.desc: create USE=strip global USE flag

2023-05-25 Thread Ionen Wolkens
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

[gentoo-dev] [PATCH 0/4] linux-mod-r1.eclass: new eclass, rewrite of -r0

2023-05-25 Thread Ionen Wolkens
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-

[gentoo-dev] [PATCH] udev.eclass: add ${EPREFIX} to src_configure example

2023-05-25 Thread Mike Gilbert
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