From e257232bdcd2362501fe17ec8e3f47420b40a701 Mon Sep 17 00:00:00 2001 From: cr6git Date: Wed, 19 Sep 2018 07:51:59 +0200 Subject: [PATCH] linux3.18: unbreak --- srcpkgs/linux3.18/template | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/srcpkgs/linux3.18/template b/srcpkgs/linux3.18/template index 26140ff917..c541d039f6 100644 --- a/srcpkgs/linux3.18/template +++ b/srcpkgs/linux3.18/template @@ -1,7 +1,7 @@ # Template file for 'linux3.18' pkgname=linux3.18 version=3.18.122 -revision=1 +revision=2 patch_args="-Np1" wrksrc="linux-${version}" maintainer="Juan RP " @@ -10,7 +10,6 @@ license="GPL-2.0-only" short_desc="The Linux kernel and modules (${version%.*} series)" distfiles="${KERNEL_SITE}/kernel/v3.x/linux-${version}.tar.xz" checksum=675b1ce36af23caa500cb1d4f0ec2976791fb0a97ebb6486a5e2ebcb5527ade5 -broken="make modules_install requires no. Please install it. This is probably in the kmod package." _kernver="${version}_${revision}" @@ -76,8 +75,11 @@ do_install() { x86_64*) arch=x86_64;; esac + # Run depmod after compressing modules. + sed -i '2iexit 0' scripts/depmod.sh + # Install kernel, firmware and modules - make ${makejobs} INSTALL_MOD_PATH=${DESTDIR} DEPMOD=no modules_install + make ${makejobs} INSTALL_MOD_PATH=${DESTDIR} modules_install hdrdest=${DESTDIR}/usr/src/kernel-headers-${_kernver}