summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-08-16 15:19:06 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-08-16 15:19:06 -0300
commit81be9891acfa29333c60d815e68c98bef5c649dc (patch)
tree19e22e2683a44be62e308fb508a64b89d9557161
parenta6f9cbcdc31130ef4218b8a0b0ad0ebe421f425d (diff)
downloadabslibre-81be9891acfa29333c60d815e68c98bef5c649dc.tar.gz
abslibre-81be9891acfa29333c60d815e68c98bef5c649dc.tar.bz2
abslibre-81be9891acfa29333c60d815e68c98bef5c649dc.zip
linux-libre-lts-3.0.40-1.2: fixing bugs on PKGBUILD related to extramodules folder
-rw-r--r--libre/linux-libre-lts/PKGBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/libre/linux-libre-lts/PKGBUILD b/libre/linux-libre-lts/PKGBUILD
index 065ca3fc0..a82639d3d 100644
--- a/libre/linux-libre-lts/PKGBUILD
+++ b/libre/linux-libre-lts/PKGBUILD
@@ -9,7 +9,7 @@ pkgbase=linux-libre-lts # Build stock -LIBRE-LTS kernel
_basekernel=3.0
_sublevel=40
pkgver=${_basekernel}.${_sublevel}
-pkgrel=1
+pkgrel=1.2
_lxopkgver=${_basekernel}.39 # nearly always the same as pkgver
arch=('i686' 'x86_64' 'mips64el')
url="http://linux-libre.fsfla.org/"
@@ -219,10 +219,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}" "${pkgdir}/lib/modules/${_kernver}/extramodules"
+ ln -s "../extramodules-${_localversionname}${_localversionname:--LIBRE-LTS}" "${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}"
- echo "${_kernver}" > "${pkgdir}/lib/modules/extramodules-${_basekernel}${_kernelname:--LIBRE-LTS}/version"
+ mkdir -p "${pkgdir}/lib/modules/extramodules-${_localversionname}${_localversionname:--LIBRE-LTS}"
+ echo "${_kernver}" > "${pkgdir}/lib/modules/extramodules-${_localversionname}${_localversionname:--LIBRE-LTS}/version"
# move module tree /lib -> /usr/lib
mv "$pkgdir/lib" "$pkgdir/usr"