summaryrefslogtreecommitdiff
path: root/libre/linux-libre
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-08-16 15:19:30 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-08-16 15:19:30 -0300
commite86358b6ede8e3ee7ee5dfbe7c31e574dd71aa4d (patch)
treee4259498b8165d23ea7fd717778f4269c95b602d /libre/linux-libre
parent81be9891acfa29333c60d815e68c98bef5c649dc (diff)
downloadabslibre-e86358b6ede8e3ee7ee5dfbe7c31e574dd71aa4d.tar.gz
abslibre-e86358b6ede8e3ee7ee5dfbe7c31e574dd71aa4d.tar.bz2
abslibre-e86358b6ede8e3ee7ee5dfbe7c31e574dd71aa4d.zip
linux-libre-3.5.2-1: fixing bugs on PKGBUILD related to extramodules folder
Diffstat (limited to 'libre/linux-libre')
-rw-r--r--libre/linux-libre/PKGBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/libre/linux-libre/PKGBUILD b/libre/linux-libre/PKGBUILD
index cfed17911..af0f391ab 100644
--- a/libre/linux-libre/PKGBUILD
+++ b/libre/linux-libre/PKGBUILD
@@ -206,10 +206,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}" "${pkgdir}/lib/modules/${_kernver}/extramodules"
+ ln -s "../extramodules-${_localversionname}${_localversionname:--LIBRE}" "${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}"
- echo "${_kernver}" > "${pkgdir}/lib/modules/extramodules-${_basekernel}${_kernelname:--LIBRE}/version"
+ mkdir -p "${pkgdir}/lib/modules/extramodules-${_localversionname}${_localversionname:--LIBRE}"
+ echo "${_kernver}" > "${pkgdir}/lib/modules/extramodules-${_localversionname}${_localversionname:--LIBRE}/version"
# move module tree /lib -> /usr/lib
mv "$pkgdir/lib" "$pkgdir/usr"