diff options
author | J0WI <J0WI@users.noreply.github.com> | 2018-12-31 02:37:48 +0100 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-12-31 14:32:03 +0000 |
commit | c93151cf8f66ecdcc92fd46b5f73ef404d1c5b94 (patch) | |
tree | 8c4ce11f5cbdef7c7a27c8dffbe1f22d7585ee0b /community/virtualbox-guest-modules-vanilla | |
parent | 0145b799663ec7284c610b23eb943adc0600900c (diff) | |
download | aports-c93151cf8f66ecdcc92fd46b5f73ef404d1c5b94.tar.bz2 aports-c93151cf8f66ecdcc92fd46b5f73ef404d1c5b94.tar.xz |
community/virtualbox-guest-modules-vanilla: add check
Diffstat (limited to 'community/virtualbox-guest-modules-vanilla')
-rw-r--r-- | community/virtualbox-guest-modules-vanilla/APKBUILD | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/community/virtualbox-guest-modules-vanilla/APKBUILD b/community/virtualbox-guest-modules-vanilla/APKBUILD index 9dc6dde3df..c14ab3e3ab 100644 --- a/community/virtualbox-guest-modules-vanilla/APKBUILD +++ b/community/virtualbox-guest-modules-vanilla/APKBUILD @@ -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 |