You are not logged in.
Pages: 1
For those who want to use the pre-empt patch in their Archlinux kernel, the PKGBUILD file:
# $Id: PKGBUILD,v 1.15 2002/10/13 17:58:30 jproctor Exp $
pkgname=kernel
pkgver=2.4.19
pkgrel=6
pkgdesc="The Linux Kernel"
source=(ftp://ftp.kernel.org/pub/linux/kernel/v2.4/linux-$pkgver.tar.bz2
config nash mkinitrd mkinitrd.conf
http://www.kernel.org/pub/linux/kernel/people/rml/preempt-kernel/v2.4/preempt-kernel-rml-2.4.19-2.patch)
build() {
rm -rf $startdir/pkg/*
cd $startdir/src
cp '../preempt-kernel-rml-2.4.19-2.patch' './preempt-kernel-rml-2.4.19-2.patch'
patch -p0 < preempt-kernel-rml-2.4.19-2.patch
cd $startdir/src/linux-$pkgver
cp ../config ./.config
yes "" | make config
make dep clean bzImage modules || return 1
mkdir -p $startdir/pkg/{lib/modules,boot,bin}
make INSTALL_MOD_PATH=$startdir/pkg modules_install || return 1
cp System.map $startdir/pkg/boot
cp arch/i386/boot/bzImage $startdir/pkg/boot/vmlinuz
cp $startdir/src/nash $startdir/pkg/bin
mkdir -p $startdir/pkg/usr/src/linux/include
cp -a include/linux $startdir/pkg/usr/src/linux/include/
cp -a include/asm-i386 $startdir/pkg/usr/src/linux/include/
cd $startdir/pkg/usr/src/linux/include && ln -s asm-i386 asm
chown -R root.root $startdir/pkg/usr/src/linux
cd $startdir/pkg/lib/modules/$pkgver &&
(rm -f build; ln -sf /usr/src/linux build)
cd $startdir
./mkinitrd -k "$pkgver" -o image
}
Just owerwrite your current PKGBUILD file in the kernel dir in ABS and typ
makepkg
The pre-empt patch will make the kernel respond faster, handy for harddisc recording and other very intensive tasks.
apt-get install arch
Offline
Cool. Thanks, Arielext!
Offline
No problem!
well there is one ... I tried to upload the patched kernel, with MAKEPKG file to the incoming direcotry on ftp.archlinux.org (for those who don't know yet, thé place to upload custom build packages) but I had no rights .. well darned! so that's why I posted it here, since I know some would like to know to make an Archlinux compatible customized kernel (wow!)
Applying other patches like XFS or that extra security thingy can be done in the same way
this just as some extra information
and if anyone wants to know how to add kde to gdm (i love gdm) just ask and I'll post the not that difficult howto in my very own dutch-english sort of english
apt-get install arch
Offline
Hey there,
I'm looking at using the Con Kolivas kernel patches(http://members.optusnet.com.au/ckolivas/kernel/) and Alan Cox patches against the current stable(2.4.22) for my workstation. They both seem to be meta-patches of sorts.
1. Do you have any opinions for/against them?
2. Do you have any other patches you recommend for desktop/workstation use?
Thanx.
-- Linux! Isn't it time?
Offline
I'm using Con Kolivas' patches for the 2.4.21 kernel and it works great. I don't think you can use both the CK and AC patch sets, you have to pick one.
I highly recommend the CK patchset. Also the bootsplash patch from SuSE is great (available on CK's page).
Offline
Thanx Toth,
If I understand you correctly, only _one_ patch can be applied to the kernel sources? If I tried to do both, they would conflict? Do you know of any patches that Alan Cox keeps up with that would be missed/needing to be installed individually? I'm do'n my best to read/understand the changelogs/diffs, but they are so long and my eyes tend to cross.
Do you know of any sites that attempt to boil-down the updates/changes to the kernel in a more editorial fashion(ripe with authoritative opinions and subjective bias)?
Thanx.
-- Linux! Isn't it time?
Offline
You can apply more than one patch at a time, but some patches may conflict or overlap. Both the CK and AC patchsets both contain multiple patches. To keep it simple I wouldn't use more than one patchset just in case, though you could always try. You could also pick and choose individual patches if you want and apply them separately.
Offline
Pages: 1