diff options
author | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-08-16 11:06:03 -0300 |
---|---|---|
committer | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-08-16 11:06:03 -0300 |
commit | 356d47a41ddd831fabc3969a14b6823111516ee3 (patch) | |
tree | dae5b85941fbd0fa147aa60faaa72459e2f17ce8 | |
parent | dcaf037ad0f00278bd982ac8b42abdb9ce29743c (diff) |
The actual linux-libre fix
-rw-r--r-- | libre/linux-libre/PKGBUILD | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/libre/linux-libre/PKGBUILD b/libre/linux-libre/PKGBUILD index ff7ee2b79..32d40024d 100644 --- a/libre/linux-libre/PKGBUILD +++ b/libre/linux-libre/PKGBUILD @@ -10,7 +10,7 @@ pkgname=('linux-libre' 'linux-libre-headers' 'linux-libre-docs') # Build stock - _kernelname=${pkgname#linux-libre} _basekernel=3.0 pkgver=${_basekernel}.1 -pkgrel=4 +pkgrel=5 arch=('i686' 'x86_64' 'mips64el') url="http://linux-libre.fsfla.org" license=('GPL2') @@ -145,6 +145,13 @@ package_linux-libre() { -e "s|fallback_image=.*|fallback_image=\"/boot/initramfs-${pkgname}-fallback.img\"|g" \ -i "${pkgdir}/etc/mkinitcpio.d/${pkgname}.preset" +# mkinitcpio 0.7 relies on bzImage to find the kernel version + if [ "$CARCH" == "mips64el" ]; then + sed \ + -e "s|ALL_kver=.*|ALL_kver=\"${_kernver}\"|g" \ + -i "${pkgdir}/etc/mkinitcpio.d/${pkgname}.preset" + fi + # remove build and source links rm -f "${pkgdir}"/lib/modules/${_kernver}/{source,build} # remove the firmware |