• Re: [gentoo-dev] [PATCH 5/5] dkms.eclass: introduce new eclass

    From Nowa Ammerlaan@21:1/5 to Alexey Sokolov on Fri Mar 14 16:50:01 2025
    On 14/03/2025 16:34, Alexey Sokolov wrote:
    14.03.2025 12:48, Nowa Ammerlaan пишет:
    Signed-off-by: Nowa Ammerlaan<nowa@gentoo.org>
    ---
    eclass/dkms.eclass | 545 +++++++++++++++++++++++++++++++++++++++++++++
    1 file changed, 545 insertions(+)
    create mode 100644 eclass/dkms.eclass

    diff --git a/eclass/dkms.eclass b/eclass/dkms.eclass
    new file mode 100644
    index 000000000000..c445b95721c3
    --- /dev/null
    +++ b/eclass/dkms.eclass
    @@ -0,0 +1,545 @@
    +# Copyright 2025 Gentoo Authors
    +# Distributed under the terms of the GNU General Public License v2
    +
    +# @ECLASS: dkms.eclass
    +# @MAINTAINER:
    +# Nowa Ammerlaan<nowa@gentoo.org>
    +# @AUTHOR:
    +# Author: Nowa Ammerlaan<nowa@gentoo.org>
    +# @SUPPORTED_EAPIS: 8
    +# @PROVIDES: linux-mod-r1
    +# @BLURB: Helper eclass to manage DKMS modules
    +# @DESCRIPTION:
    +# Registers, builds and installs kernel modules using the DKMS
    +# (Dynamic Kernel Module Support) system provided by sys-kernel/dkms.
    +#
    +# The dkms_autoconf may be used to translate the modlist and modargs
    +# arrays from linux-mod-r1.eclass to a DKMS configuration file.
    +#
    +# If the upstream sources already contain a DKMS configuration file
    +# this may be used instead of the dkms_autoconf function. In this
    +# case dkms_gentoofy_conf function may be used to insert the users
    +# compiler, MAKEOPTS and *FLAGS preferences into the DKMS
    +# configuration file.
    +#
    +# The dkms_dopackage function is used to install a DKMS package, this
    +# function expects to find a dkms.conf file at the path specified
    +# by the argument passed to this function. If not path is specified
    +# the current working directory is used.

    typo: if no path is specified


    Thanks, fixed in my pull request.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)