diff options
author | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2012-07-06 16:34:31 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2012-07-06 16:34:31 -0300 |
commit | 459d069f97348ce6a60aa11cc739f46b16ae04c4 (patch) | |
tree | 79a6acecf6827c2e87e683f2f929e78619ee1fd9 /libre/virtualbox-modules/PKGBUILD | |
parent | ff3261a81eb822505f72b48b9fb509adb0073eba (diff) | |
download | abslibre-459d069f97348ce6a60aa11cc739f46b16ae04c4.tar.gz abslibre-459d069f97348ce6a60aa11cc739f46b16ae04c4.tar.bz2 abslibre-459d069f97348ce6a60aa11cc739f46b16ae04c4.zip |
virtualbox-modules-4.1.18-2: updating revision due kernel changed modules folder from /lib to /usr/lib
Diffstat (limited to 'libre/virtualbox-modules/PKGBUILD')
-rw-r--r-- | libre/virtualbox-modules/PKGBUILD | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/libre/virtualbox-modules/PKGBUILD b/libre/virtualbox-modules/PKGBUILD index 2e747105a..abb3c1b42 100644 --- a/libre/virtualbox-modules/PKGBUILD +++ b/libre/virtualbox-modules/PKGBUILD @@ -6,7 +6,7 @@ pkgbase=virtualbox-modules pkgname=('virtualbox-modules' 'virtualbox-parabola-modules') pkgver=4.1.18 -pkgrel=1 +pkgrel=2 arch=('i686' 'x86_64') url='http://virtualbox.org' license=('GPL') @@ -19,9 +19,9 @@ md5sums=('38db0a87cba659b484af868b0c2bd3ac' 'ed1341881437455d9735875ddf455fbe') _extramodules=extramodules-3.4-LIBRE -_kernver="$(cat /lib/modules/${_extramodules}/version || true)" +_kernver="$(cat /usr/lib/modules/${_extramodules}/version || true)" -export KERN_DIR=/lib/modules/${_kernver}/build +export KERN_DIR=/usr/lib/modules/${_kernver}/build export KERN_INCL=/usr/src/linux-${_kernver}/include/ build() { @@ -87,18 +87,18 @@ package_virtualbox-modules(){ cd "$srcdir/VirtualBox-${pkgver}/out/linux.$BUILD_PLATFORM_ARCH/release/bin/src" install -D -m644 vboxdrv.ko \ - "$pkgdir/lib/modules/${_extramodules}/vboxdrv.ko" + "$pkgdir/usr/lib/modules/${_extramodules}/vboxdrv.ko" install -D -m644 vboxnetadp.ko \ - "$pkgdir/lib/modules/${_extramodules}/vboxnetadp.ko" + "$pkgdir/usr/lib/modules/${_extramodules}/vboxnetadp.ko" install -D -m644 vboxnetflt.ko \ - "$pkgdir/lib/modules/${_extramodules}/vboxnetflt.ko" + "$pkgdir/usr/lib/modules/${_extramodules}/vboxnetflt.ko" install -D -m644 vboxpci.ko \ - "$pkgdir/lib/modules/${_extramodules}/vboxpci.ko" + "$pkgdir/usr/lib/modules/${_extramodules}/vboxpci.ko" - find "${pkgdir}" -name '*.ko' -exec gzip -9 {} \; + find "${pkgdir}" -name '*.ko' -exec gzip -9 {} + sed -i -e "s/EXTRAMODULES='.*'/EXTRAMODULES='${_extramodules}'/" "$startdir/virtualbox-modules.install" } |