summaryrefslogtreecommitdiff
path: root/kernels/linux-libre-rt/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-06-23 01:08:06 -0700
committerroot <root@rshg054.dnsready.net>2013-06-23 01:08:06 -0700
commit8d87c082149a6574a1d17d3c28ab2cb65a1e1d96 (patch)
tree6d3d045445c0e8f363e2ea3cc903912546fc0b5c /kernels/linux-libre-rt/PKGBUILD
parent946a83c478943914bcf576bd772689ef74c27fdd (diff)
Sun Jun 23 01:07:36 PDT 2013
Diffstat (limited to 'kernels/linux-libre-rt/PKGBUILD')
-rw-r--r--kernels/linux-libre-rt/PKGBUILD14
1 files changed, 8 insertions, 6 deletions
diff --git a/kernels/linux-libre-rt/PKGBUILD b/kernels/linux-libre-rt/PKGBUILD
index d93b6247b..aa53303e4 100644
--- a/kernels/linux-libre-rt/PKGBUILD
+++ b/kernels/linux-libre-rt/PKGBUILD
@@ -10,7 +10,7 @@ pkgbase=linux-libre-rt # Build stock -LIBRE-RT kernel
#pkgbase=linux-libre-custom # Build kernel with a different name
_basekernel=3.8
_releasever=13
-_rtpatchver=rt9
+_rtpatchver=rt12
_pkgver=${_basekernel}.${_releasever}
pkgver=${_basekernel}.${_releasever}_${_rtpatchver}
pkgrel=1
@@ -34,7 +34,7 @@ source=("http://linux-libre.fsfla.org/pub/linux-libre/releases/${_basekernel}-gn
"http://www.linux-libre.fsfla.org/pub/linux-libre/lemote/gnewsense/pool/debuginfo/linux-patches-${_lxopkgver}-gnu_0loongsonlibre_mipsel.tar.bz2")
md5sums=('5c7787be882c343e41fb49136ff60aec'
'2242024493dcb72a8777e11198f5e743'
- '2b8fc5a819ee9bdf79aec69e07565cae'
+ 'aeecda98b77d67f4d1382b27ecba3d34'
'5ed195b8c44e1e00c1885077566e1f81'
'f97a0be3b9252e788a0cf67e93cb5c6f'
'82496e68851d1960543a07ba51cdb44a'
@@ -187,14 +187,16 @@ _package() {
# add vmlinux
install -D -m644 vmlinux "${pkgdir}/usr/src/linux-${_kernver}/vmlinux"
- # install fallback mkinitcpio.conf file and preset file for kernel
- install -D -m644 "${srcdir}/${pkgbase}.preset" "${pkgdir}/etc/mkinitcpio.d/${pkgbase}.preset"
-
# set correct depmod command for install
+ cp -f "${startdir}/${install}" "${startdir}/${install}.pkg"
+ true && install=${install}.pkg
sed \
-e "s/KERNEL_NAME=.*/KERNEL_NAME=${_kernelname}/" \
-e "s/KERNEL_VERSION=.*/KERNEL_VERSION=${_kernver}/" \
- -i "${startdir}/${pkgbase}.install"
+ -i "${startdir}/${install}"
+
+ # install mkinitcpio preset file for kernel
+ install -D -m644 "${srcdir}/${pkgbase}.preset" "${pkgdir}/etc/mkinitcpio.d/${pkgbase}.preset"
sed \
-e "1s|'linux*.*'|'${pkgbase}'|" \
-e "s|ALL_kver=.*|ALL_kver=\"/boot/vmlinuz-${pkgbase}\"|" \