mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-21 04:53:07 -04:00
sys-kernel/dkms: bumped to 2.8.3
Official changelog: This release fixes the inability to actually build anything: #127 Revert "build_module: do not build if result will be obsolete" Don't use UID to check for root user, but use instead id -u that returns the effective user Use /etc/dkms/no-autoinstall as flag file to disable autoinstall Merge pull request #125 from vvvrrooomm/sign_tool_in_framework_conf Merge pull request #122 from zx2c4-forks/obsoleteby Add example sign_tool helper script Move sign_tool from dkms.conf to framework.conf build_module: do not build if result will be obsolete Introduce 'dkms unbuild' command Move rpm_safe_upgrade validation further up Factor out a do_unbuild function Correct check_module_args() error message Add missing argument to have_one_kernel invocations Add support for dkms uninstall ... --all Remove open-coded helpers from {remove,uninstall}_module() Explicitly check for --all with add/build/install actions Split out check_all_is_banned() Call check_root fot add/build commands Merge pull request #44 from bitness/rpm_safe_upgrade-fix Merge pull request #118 from mhjacks/add_install_d Add script for newer Fedora to run existing postinst/prerm scripts Merge pull request #115 from aymanbagabas/revert-original-module Revert "Do not touch original modules in /kernel" Merge pull request #112 from sjuxax/master Stop sanity check from clobbering module_compressed_suffix. Source the debconf module only if available on the system Add some more verbosity to logs in case of BUILD_EXCLUSIVE directory See Debian bug: Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Denis Reva <denis7774@gmail.com>
This commit is contained in:
47
sys-kernel/dkms/dkms-2.8.3.ebuild
Normal file
47
sys-kernel/dkms/dkms-2.8.3.ebuild
Normal file
@@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="Dynamic Kernel Module Support"
|
||||
HOMEPAGE="https://github.com/dell/dkms"
|
||||
LICENSE="GPL-2"
|
||||
DEPEND=""
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SLOT="0"
|
||||
IUSE="kernel-hooks"
|
||||
|
||||
SRC_URI="https://github.com/dell/dkms/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
DOCS=( AUTHORS sample.conf sample.spec )
|
||||
|
||||
src_prepare() {
|
||||
#Removing gzip compressions in Makefile
|
||||
sed -i '/dkms.8.gz/d' "${S}"/Makefile
|
||||
default
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
einfo "Skipping compilation"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}" LIBDIR="${D}"/usr/$(get_libdir)/
|
||||
|
||||
keepdir /var/lib/dkms
|
||||
insinto /var/lib/dkms
|
||||
doins dkms_dbversion
|
||||
|
||||
keepdir /etc/dkms
|
||||
doins template-dkms-mkrpm.spec
|
||||
|
||||
einstalldocs
|
||||
if use kernel-hooks; then
|
||||
einfo "You're installed kernel hooks that automatically rebuild your modules"
|
||||
else rm -r "${D}"/etc/kernel/;
|
||||
fi
|
||||
|
||||
ewarn "DKMS might say about missing headers even if sys-kernel/linux-headers installed"
|
||||
ewarn "Just don't keep attention, that don't affect anything"
|
||||
}
|
||||
Reference in New Issue
Block a user