Skip to content
Permalink
Browse files

add signing of vbox modules

delete old patches
signing needs files added to linux-next-headers
  • Loading branch information
demmm committed Nov 26, 2019
1 parent df3c0b0 commit 08edda08b8c05eb41fc20555e4e9e79488f92996
Showing with 11 additions and 85 deletions.
  1. +11 −1 virtualbox-modules-next/PKGBUILD
  2. +0 −45 virtualbox-modules-next/linux4.14.patch
  3. +0 −39 virtualbox-modules-next/linux4.15.patch
@@ -6,7 +6,7 @@ _kernver="$(cat /lib/modules/$_extramodules/version)"
pkgname=virtualbox-modules-next
pkgver=6.0.14
_pkgver=6.0.14
pkgrel=8
pkgrel=10
pkgdesc="Kernel modules for VirtualBox"
url="https://www.virtualbox.org"
arch=('x86_64')
@@ -36,6 +36,16 @@ build() {

make KERN_DIR=/lib/modules/${_kernver}/build MODULE_DIR_TST=${pkgdir}/lib/modules/${_kernver} \
MODULE_DIR=${pkgdir}/lib/modules/${_kernver}/misc

# sign the modules
_file=/usr/src/linux-${_kernver}/scripts/sign-file
_pem=/usr/src/linux-${_kernver}/certs/signing_key.pem
_key=/usr/src/linux-${_kernver}/certs/signing_key.x509

${_file} sha256 ${_pem} ${_key} vboxdrv.ko
${_file} sha256 ${_pem} ${_key} vboxnetadp.ko
${_file} sha256 ${_pem} ${_key} vboxnetflt.ko
${_file} sha256 ${_pem} ${_key} vboxpci.ko
}

package() {

This file was deleted.

This file was deleted.

0 comments on commit 08edda0

Please sign in to comment.
You can’t perform that action at this time.