Commit c93151cf authored by J0WI's avatar J0WI Committed by Natanael Copa

community/virtualbox-guest-modules-vanilla: add check

parent 0145b799
......@@ -4,7 +4,7 @@
# when chaning _ver we *must* bump _rel
_name=virtualbox-guest-modules
_ver=6.0.0
_rel=0
_rel=1
_flavor=${FLAVOR:-vanilla}
_kpkg=linux-$_flavor
......@@ -21,7 +21,7 @@ pkgrel=$(($_krel + $_rel))
pkgdesc="VirtualBox Additions guest kernel modules for $_flavor"
arch='x86 x86_64'
url='http://virtualbox.org'
url='https://virtualbox.org'
license="GPL-2.0 custom"
makedepends="linux-vanilla-dev=$_kpkgver linux-virt-dev=$_kpkgver sed coreutils"
subpackages="$_name-virt:virt"
......@@ -65,6 +65,14 @@ build() {
done
}
check() {
local i
for i in $_kabi $_kabi_virt; do
cd "$srcdir/$i"
make KERN_DIR=/lib/modules/${i}/build check
done
}
package() {
local i module=
for i in $_kabi $_kabi_virt; do
......
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