From: "Nowa Ammerlaan" <nowa@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-kernel/dkms/
Date: Mon, 10 Mar 2025 18:06:59 +0000 (UTC) [thread overview]
Message-ID: <1741629804.7cd7cfdfaa607aea8a6103e605b432c03d3931d8.nowa@gentoo> (raw)
commit: 7cd7cfdfaa607aea8a6103e605b432c03d3931d8
Author: Nowa Ammerlaan <nowa <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 10 18:03:24 2025 +0000
Commit: Nowa Ammerlaan <nowa <AT> gentoo <DOT> org>
CommitDate: Mon Mar 10 18:03:24 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7cd7cfdf
sys-kernel/dkms: add 9999
Signed-off-by: Nowa Ammerlaan <nowa <AT> gentoo.org>
sys-kernel/dkms/dkms-9999.ebuild | 56 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 56 insertions(+)
diff --git a/sys-kernel/dkms/dkms-9999.ebuild b/sys-kernel/dkms/dkms-9999.ebuild
new file mode 100644
index 000000000000..82ab806eb573
--- /dev/null
+++ b/sys-kernel/dkms/dkms-9999.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit linux-info optfeature
+
+if [[ ${PV} == 9999 ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/dell/dkms"
+else
+ SRC_URI="https://github.com/dell/dkms/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm64 ~x86"
+fi
+
+DESCRIPTION="Dynamic Kernel Module Support"
+HOMEPAGE="https://github.com/dell/dkms"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="systemd"
+RESTRICT="test" # Should be run in a container
+
+RDEPEND="
+ sys-apps/kmod
+ virtual/linux-sources
+ systemd? ( sys-apps/systemd )
+"
+
+CONFIG_CHECK="~MODULES"
+
+src_compile() {
+ # Nothing to do here
+ return
+}
+
+src_test() {
+ chmod +x dkms || die
+ PATH="${PATH}:$(pwd)" ./run_test.sh || die "Tests failed"
+}
+
+src_install() {
+ if use systemd; then
+ emake install-redhat DESTDIR="${ED}" KCONF="/usr/lib/kernel"
+ else
+ emake install-debian DESTDIR="${ED}" KCONF="/usr/lib/kernel"
+ fi
+
+ einstalldocs
+ keepdir /var/lib/dkms
+}
+
+pkg_postinst() {
+ optfeature "automatically running \"dkms autoinstall\" on each kernel installation" \
+ sys-kernel/installkernel
+}
next reply other threads:[~2025-03-10 18:07 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-10 18:06 Nowa Ammerlaan [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-10 18:06 [gentoo-commits] repo/gentoo:master commit in: sys-kernel/dkms/ Nowa Ammerlaan
2025-01-30 13:48 Nowa Ammerlaan
2025-01-30 13:48 Nowa Ammerlaan
2024-12-19 15:06 Nowa Ammerlaan
2024-12-01 10:18 Nowa Ammerlaan
2024-11-26 11:02 Nowa Ammerlaan
2024-10-21 16:52 Andrew Ammerlaan
2024-10-03 9:12 Andrew Ammerlaan
2024-08-03 10:19 Andrew Ammerlaan
2024-08-03 10:19 Andrew Ammerlaan
2024-08-03 10:19 Andrew Ammerlaan
2024-03-06 16:41 Andrew Ammerlaan
2024-02-12 10:35 Andrew Ammerlaan
2024-02-02 6:28 Andrew Ammerlaan
2023-10-12 5:28 Sam James
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=1741629804.7cd7cfdfaa607aea8a6103e605b432c03d3931d8.nowa@gentoo \
--to=nowa@gentoo.org \
--cc=gentoo-commits@lists.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