summaryrefslogtreecommitdiff
path: root/kernels/linux-libre-xen
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-08-16 15:50:30 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-08-16 15:50:30 -0300
commit9cbdcee30b139bf21bf0c912b891809648660d9f (patch)
treec583c556cdc59903b69ce1cb5d1120d7f754f2cf /kernels/linux-libre-xen
parentc160663c753c8b9967ba4e2656aaf69ce2afe12b (diff)
downloadabslibre-9cbdcee30b139bf21bf0c912b891809648660d9f.tar.gz
abslibre-9cbdcee30b139bf21bf0c912b891809648660d9f.tar.bz2
abslibre-9cbdcee30b139bf21bf0c912b891809648660d9f.zip
linux-libre-xen-3.3.6-1.3: fixing bugs on PKGBUILD related to extramodules folder
Diffstat (limited to 'kernels/linux-libre-xen')
-rw-r--r--kernels/linux-libre-xen/PKGBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/kernels/linux-libre-xen/PKGBUILD b/kernels/linux-libre-xen/PKGBUILD
index 85475feb8..7f14d134d 100644
--- a/kernels/linux-libre-xen/PKGBUILD
+++ b/kernels/linux-libre-xen/PKGBUILD
@@ -10,7 +10,7 @@ pkgbase=linux-libre-xen # Build stock -LIBRE-XEN kernel
#pkgbase=linux-libre-custom # Build kernel with a different name
_basekernel=3.3
pkgver=${_basekernel}.6
-pkgrel=1.2
+pkgrel=1.3
arch=('i686')
url="http://linux-libre.fsfla.org/"
license=('GPL2')
@@ -155,10 +155,10 @@ _package() {
# gzip -9 all modules to save 100MB of space
find "${pkgdir}" -name '*.ko' -exec gzip -9 {} \;
# make room for external modules
- ln -s "../extramodules-${_basekernel}${_kernelname:--LIBRE-XEN}" "${pkgdir}/lib/modules/${_kernver}/extramodules"
+ ln -s "../extramodules-${_basekernel}${_localversionname:--LIBRE-XEN}" "${pkgdir}/lib/modules/${_kernver}/extramodules"
# add real version for building modules and running depmod from post_install/upgrade
- mkdir -p "${pkgdir}/lib/modules/extramodules-${_basekernel}${_kernelname:--LIBRE-XEN}"
- echo "${_kernver}" > "${pkgdir}/lib/modules/extramodules-${_basekernel}${_kernelname:--LIBRE-XEN}/version"
+ mkdir -p "${pkgdir}/lib/modules/extramodules-${_basekernel}${_localversionname:--LIBRE-XEN}"
+ echo "${_kernver}" > "${pkgdir}/lib/modules/extramodules-${_basekernel}${_localversionname:--LIBRE-XEN}/version"
# move module tree /lib -> /usr/lib
mv "$pkgdir/lib" "$pkgdir/usr"