linux3.18: unbreak
This commit is contained in:
parent
86757507b2
commit
e257232bdc
1 changed files with 5 additions and 3 deletions
|
@ -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 <xtraeme@voidlinux.eu>"
|
||||
|
@ -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}
|
||||
|
||||
|
|
Loading…
Reference in a new issue