From 22a859733222892950f21b26d7d062f8aeda5866 Mon Sep 17 00:00:00 2001 From: Helmut Pozimski Date: Mon, 11 Feb 2019 20:58:36 +0100 Subject: [PATCH] dkms: revert kernel scripts for cross-architectures --- srcpkgs/dkms/files/kernel.d/dkms.postinst | 4 ---- srcpkgs/dkms/template | 10 +++------- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/srcpkgs/dkms/files/kernel.d/dkms.postinst b/srcpkgs/dkms/files/kernel.d/dkms.postinst index 8c83c4723a0..c1aa0a8f666 100644 --- a/srcpkgs/dkms/files/kernel.d/dkms.postinst +++ b/srcpkgs/dkms/files/kernel.d/dkms.postinst @@ -17,10 +17,6 @@ if [ ! -e /lib/modules/${VERSION}/build/include ] ; then exit 0 fi -if [ ! -f /lib/modules/${VERSION}/build/scripts/basic/fixdep ] ; then - make -C /lib/modules/${VERSION}/build scripts -fi - # Check available DKMS modules for _mod_ in /var/lib/dkms/*; do [ ! -d ${_mod_} ] && continue diff --git a/srcpkgs/dkms/template b/srcpkgs/dkms/template index 14b5f5f6544..a3999dfab86 100644 --- a/srcpkgs/dkms/template +++ b/srcpkgs/dkms/template @@ -1,20 +1,16 @@ # Template file for 'dkms' pkgname=dkms version=2.6.1 -revision=2 +revision=3 conf_files="/etc/dkms/framework.conf" depends="bash kmod gcc make coreutils linux-headers" +homepage="https://github.com/dell/dkms" +distfiles="${homepage}/archive/v${version}.tar.gz" short_desc="Dynamic Kernel Modules System" maintainer="Juan RP " license="GPL-2.0-or-later" -homepage="https://github.com/dell/dkms" -distfiles="${homepage}/archive/v${version}.tar.gz" checksum=9a34f42a80e01682efcb13c513692e72f1d21570bbc7a9eba855dde30f116ce7 -if [ "$CROSS_BUILD" ]; then - depends+=" libressl-devel gmp-devel libada-devel libmpc-devel" -fi - do_install() { # We are only interested in the bare minimum. vbin dkms