summaryrefslogtreecommitdiff
path: root/kernels/linux-libre-aufs_friendly
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-08-16 15:39:37 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-08-16 15:39:37 -0300
commit6bb475c31abeae102e554f6e6c1b7b405b808542 (patch)
tree835b2a09c38d760415daa64d8a5c4fa048266deb /kernels/linux-libre-aufs_friendly
parent9269025be29414ee7692f5d0420e5a904a5d3ae8 (diff)
linux-libre-aufs_friendly-3.3.4-1.3: fixing bugs on PKGBUILD related to extramodules folder
Diffstat (limited to 'kernels/linux-libre-aufs_friendly')
-rw-r--r--kernels/linux-libre-aufs_friendly/PKGBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/kernels/linux-libre-aufs_friendly/PKGBUILD b/kernels/linux-libre-aufs_friendly/PKGBUILD
index 4605cfba5..7f2101b18 100644
--- a/kernels/linux-libre-aufs_friendly/PKGBUILD
+++ b/kernels/linux-libre-aufs_friendly/PKGBUILD
@@ -13,7 +13,7 @@ pkgbase=linux-libre-aufs_friendly # Build stock -LIBRE-AUFS_FRIENDLY kernel
_basekernel=3.3
_sublevel=4
pkgver=${_basekernel}.${_sublevel}
-pkgrel=1.2
+pkgrel=1.3
_lxopkgver=${_basekernel}.4 # nearly always the same as pkgver
arch=('i686' 'x86_64' 'mips64el')
url="http://linux-libre.fsfla.org/"
@@ -234,10 +234,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-AUFS_FRIENDLY}" "${pkgdir}/lib/modules/${_kernver}/extramodules"
+ ln -s "../extramodules-${_basekernel}${_localversionname:--LIBRE-AUFS_FRIENDLY}" "${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-AUFS_FRIENDLY}"
- echo "${_kernver}" > "${pkgdir}/lib/modules/extramodules-${_basekernel}${_kernelname:--LIBRE-AUFS_FRIENDLY}/version"
+ mkdir -p "${pkgdir}/lib/modules/extramodules-${_basekernel}${_localversionname:--LIBRE-AUFS_FRIENDLY}"
+ echo "${_kernver}" > "${pkgdir}/lib/modules/extramodules-${_basekernel}${_localversionname:--LIBRE-AUFS_FRIENDLY}/version"
# move module tree /lib -> /usr/lib
mv "$pkgdir/lib" "$pkgdir/usr"