From 2634bba70c4f8bc4b3fb99b65629209efb39e2ad Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Tue, 13 Mar 2012 02:56:17 -0300 Subject: kernels/linux-libre-rt --- kernels/linux-libre-rt/PKGBUILD | 6 +----- kernels/linux-libre-rt/linux-libre-rt.install | 6 +++--- 2 files changed, 4 insertions(+), 8 deletions(-) (limited to 'kernels/linux-libre-rt') diff --git a/kernels/linux-libre-rt/PKGBUILD b/kernels/linux-libre-rt/PKGBUILD index 47f4e371c..75d4a3ab5 100644 --- a/kernels/linux-libre-rt/PKGBUILD +++ b/kernels/linux-libre-rt/PKGBUILD @@ -10,7 +10,7 @@ pkgbase=linux-libre-rt pkgname=('linux-libre-rt' 'linux-libre-rt-headers') # Build stock -LIBRE kernel with RT support # pkgname=linux-custom # Build kernel with a different name -_kernelname=${pkgname#linux-libre} +_kernelname=-LIBRE-RT _basekernel=3.2 _releasever=6 _rtpatchver=rt13 @@ -135,10 +135,6 @@ package_linux-libre-rt() { install -D -m644 "${srcdir}/${pkgname}.preset" "${pkgdir}/etc/mkinitcpio.d/${pkgname}.preset" # set correct depmod command for install - sed \ - -e "s/KERNEL_NAME=.*/KERNEL_NAME=${_kernelname}/g" \ - -e "s/KERNEL_VERSION=.*/KERNEL_VERSION=${_kernver}/g" \ - -i "${startdir}/${pkgname}.install" sed \ -e "s|ALL_kver=.*|ALL_kver=\"/boot/vmlinuz-${pkgname}\"|g" \ -e "s|default_image=.*|default_image=\"/boot/initramfs-${pkgname}.img\"|g" \ diff --git a/kernels/linux-libre-rt/linux-libre-rt.install b/kernels/linux-libre-rt/linux-libre-rt.install index 5c40a32e9..79c6aea4d 100644 --- a/kernels/linux-libre-rt/linux-libre-rt.install +++ b/kernels/linux-libre-rt/linux-libre-rt.install @@ -1,8 +1,8 @@ # arg 1: the new package version # arg 2: the old package version -KERNEL_NAME= -KERNEL_VERSION=3.2.2-LIBRE +KERNEL_NAME=-rt +KERNEL_VERSION=3.2.6-2-LIBRE-RT post_install () { # updating module dependencies @@ -12,7 +12,7 @@ post_install () { mkinitcpio -p linux-libre${KERNEL_NAME} # compat symlinks for the official kernels only - if [ -z "${KERNEL_NAME}" -o "${KERNEL_NAME}" = "-lts" ]; then + if [ -z "${KERNEL_NAME}" -o "${KERNEL_NAME}" = "-rt" ]; then loaders="$(find /boot -name syslinux.cfg -or -name extlinux.conf -or -name grub.cfg -or -name menu.lst)" [ -f /etc/lilo.conf ] && loaders="$loaders /etc/lilo.conf" if [ -n "${loaders}" ] && grep -q -e vmlinuz26 -e kernel26.img -e kernel26-fallback.img $loaders; then -- cgit v1.2.3 From 8f6dbf85ee0f0fca0705ea253e3d8d0d2128a890 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Tue, 13 Mar 2012 02:57:17 -0300 Subject: kernels/linux-libre-rt --- kernels/linux-libre-rt/PKGBUILD | 1 + 1 file changed, 1 insertion(+) (limited to 'kernels/linux-libre-rt') diff --git a/kernels/linux-libre-rt/PKGBUILD b/kernels/linux-libre-rt/PKGBUILD index 75d4a3ab5..6f14461fe 100644 --- a/kernels/linux-libre-rt/PKGBUILD +++ b/kernels/linux-libre-rt/PKGBUILD @@ -6,6 +6,7 @@ # Contributor (Parabola): Nicolás Reynolds # Contributor (Parabola): Jorge Lopez # Contributor (Parabola): André Silva +# Contributor (Parabola): Márcio Silva pkgbase=linux-libre-rt pkgname=('linux-libre-rt' 'linux-libre-rt-headers') # Build stock -LIBRE kernel with RT support -- cgit v1.2.3