Commit 95e8811c authored by Cédric Schieli's avatar Cédric Schieli Committed by Natanael Copa
Browse files

main/iscsitarget-grsec: set ksrc in package()


Signed-off-by: Cédric Schieli's avatarCedric Schieli <cschieli@gmail.com>
parent 1ad9821f
......@@ -15,7 +15,7 @@ _iscsiver=1.4.19
pkgname=${_realname}-${_flavor}
pkgver=$_kver
_mypkgrel=0
_mypkgrel=1
pkgrel=$(($_kpkgrel + $_mypkgrel))
pkgdesc="$_flavor kernel modules for iscsitarget $_iscsiver"
url="http://iscsitarget.sourceforge.net/"
......@@ -45,6 +45,7 @@ build() {
package() {
cd "$srcdir"/$_realname-$_iscsiver
local ksrc=/usr/src/linux-headers-${_abi_release}
make KSRC="$ksrc" DISTDIR="$pkgdir" install-kernel || return 1
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment