summaryrefslogtreecommitdiff
path: root/kernels/linux-libre-lts-rt
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-08-16 15:47:12 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-08-16 15:47:12 -0300
commitc160663c753c8b9967ba4e2656aaf69ce2afe12b (patch)
tree505099393d88d2fa53bb17075dcc784f64ed0bb2 /kernels/linux-libre-lts-rt
parent484823ae4e9af58e0ae469fab8ea4d9ae6bc6abc (diff)
linux-libre-lts-rt-3.0.40_rt60-1.2: fixing bugs on PKGBUILD related to extramodules folder
Diffstat (limited to 'kernels/linux-libre-lts-rt')
-rw-r--r--kernels/linux-libre-lts-rt/PKGBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/kernels/linux-libre-lts-rt/PKGBUILD b/kernels/linux-libre-lts-rt/PKGBUILD
index 8f47d0168..b531454f3 100644
--- a/kernels/linux-libre-lts-rt/PKGBUILD
+++ b/kernels/linux-libre-lts-rt/PKGBUILD
@@ -15,7 +15,7 @@ _releasever=40
_rtpatchver=rt60
_pkgver=${_basekernel}.${_releasever}
pkgver=${_basekernel}.${_releasever}_${_rtpatchver}
-pkgrel=1.1
+pkgrel=1.2
_lxopkgver=${_basekernel}.39 # nearly always the same as pkgver
arch=('i686' 'x86_64' 'mips64el')
url="http://linux-libre.fsfla.org/"
@@ -231,10 +231,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-LTS-RT}" "${pkgdir}/lib/modules/${_kernver}/extramodules"
+ ln -s "../extramodules-${_basekernel}${_localversionname:--LIBRE-LTS-RT}" "${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-LTS-RT}"
- echo "${_kernver}" > "${pkgdir}/lib/modules/extramodules-${_basekernel}${_kernelname:--LIBRE-LTS-RT}/version"
+ mkdir -p "${pkgdir}/lib/modules/extramodules-${_basekernel}${_localversionname:--LIBRE-LTS-RT}"
+ echo "${_kernver}" > "${pkgdir}/lib/modules/extramodules-${_basekernel}${_localversionname:--LIBRE-LTS-RT}/version"
# move module tree /lib -> /usr/lib
mv "$pkgdir/lib" "$pkgdir/usr"