summaryrefslogtreecommitdiff
path: root/kernels
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-08-16 15:46:01 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-08-16 15:46:01 -0300
commit484823ae4e9af58e0ae469fab8ea4d9ae6bc6abc (patch)
treeb3c3af2aee2cc558c5589adaa0eba6469c626ad3 /kernels
parent20484e25cd2d5df4012d07b23a584de709516f2d (diff)
downloadabslibre-484823ae4e9af58e0ae469fab8ea4d9ae6bc6abc.tar.gz
abslibre-484823ae4e9af58e0ae469fab8ea4d9ae6bc6abc.tar.bz2
abslibre-484823ae4e9af58e0ae469fab8ea4d9ae6bc6abc.zip
linux-libre-rt-3.4.8_rt16-1.1: fixing bugs on PKGBUILD related to extramodules folder
Diffstat (limited to 'kernels')
-rw-r--r--kernels/linux-libre-rt/PKGBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/kernels/linux-libre-rt/PKGBUILD b/kernels/linux-libre-rt/PKGBUILD
index 503d1d30a..10a28eb43 100644
--- a/kernels/linux-libre-rt/PKGBUILD
+++ b/kernels/linux-libre-rt/PKGBUILD
@@ -15,7 +15,7 @@ _releasever=8
_rtpatchver=rt16
_pkgver=${_basekernel}.${_releasever}
pkgver=${_basekernel}.${_releasever}_${_rtpatchver}
-pkgrel=1
+pkgrel=1.1
_lxopkgver=${_basekernel}.8 # nearly always the same as pkgver
arch=('i686' 'x86_64' 'mips64el')
url="http://linux-libre.fsfla.org/"
@@ -230,10 +230,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-RT}" "${pkgdir}/lib/modules/${_kernver}/extramodules"
+ ln -s "../extramodules-${_basekernel}${_localversionname:--LIBRE-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-RT}"
- echo "${_kernver}" > "${pkgdir}/lib/modules/extramodules-${_basekernel}${_kernelname:--LIBRE-RT}/version"
+ mkdir -p "${pkgdir}/lib/modules/extramodules-${_basekernel}${_localversionname:--LIBRE-RT}"
+ echo "${_kernver}" > "${pkgdir}/lib/modules/extramodules-${_basekernel}${_localversionname:--LIBRE-RT}/version"
# move module tree /lib -> /usr/lib
mv "$pkgdir/lib" "$pkgdir/usr"