You are not logged in.
Pages: 1
OK...I'm close! I got a package to build, but even though I changed EXTRAVERSION from -ARCH to -RT I get this error when trying to install:
kernel26rt: /usr/src/linux-2.6.21-ARCH/include/sound/cs46xx_dsp_scb_types.h: exists in filesystem
kernel26rt: /usr/src/linux-2.6.21-ARCH/include/sound/cs46xx_dsp_spos.h: exists in filesystem
etc. forever.
I did make menuconfig and I know I changed it...for sure.
PKGBUILD:
pkgname=kernel26rt
_basekernel=2.6.21
pkgver=2.6.21.1
pkgrel=1
pkgdesc="The Linux Kernel and modules + RT patchset"
arch=(i686)
url="http://www.kernel.org"
backup=('boot/kconfig26' etc/mkinitcpio.d/${pkgname}.preset)
depends=('module-init-tools' 'mkinitcpio>=0.5.13')
install=kernel26.install
source=(ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-$_basekernel.tar.bz2
config
kernel26rt.preset
mkinitcpio-$pkgname.conf
http://people.redhat.com/mingo/realtime … .6.21-rt1)
md5sums=('1b515f588078dfa7f4bab2634bd17e80' 'dd0ab2770aa77868a0ca73822daecdfe'\
'9285f4e91bd1b34ef18f4a35884a6419' '36858bd6a0bca63d2aa901b2e42d4a05'\
'7db73b1fbf3cd47adf9d3d86a6edc1d6')
build() {
[ "${CARCH}" = "i686" ] && KARCH=i386
[ "${CARCH}" = "x86_64" ] && KARCH=x86_64
cd $startdir/src/linux-$_basekernel
#RT Patchset
patch -Np1 -i ../patch-2.6.21-rt1 || return 1
# remove the extraversion from Makefile
#sed -i 's|^EXTRAVERSION = .*$|EXTRAVERSION =-rc7|g' Makefile
sed -i 's|^EXTRAVERSION = .*$|EXTRAVERSION =|g' Makefile
# get rid of the 'i' in i686
carch=`echo $CARCH | sed 's|i||'`
cat ../config | sed "s|#CARCH#|$carch|g" >./.config
# build the full kernel version to use in pathnames
. ./.config
#_kernver="2.6.21-rc7${CONFIG_LOCALVERSION}"
_kernver="${_basekernel}${CONFIG_LOCALVERSION}"
# load configuration
make menuconfig # build!
make bzImage modules || return 1
mkdir -p $startdir/pkg/{lib/modules,boot}
make INSTALL_MOD_PATH=$startdir/pkg modules_install || return 1
cp System.map $startdir/pkg/boot/System.map26
cp arch/$KARCH/boot/bzImage $startdir/pkg/boot/vmlinuz26
install -D -m644 Makefile \
$startdir/pkg/usr/src/linux-${_kernver}/Makefile
install -D -m644 kernel/Makefile \
$startdir/pkg/usr/src/linux-${_kernver}/kernel/Makefile
install -D -m644 .config \
$startdir/pkg/usr/src/linux-${_kernver}/.config
install -D -m644 .config $startdir/pkg/boot/kconfig26
mkdir -p $startdir/pkg/usr/src/linux-${_kernver}/include
mkdir -p $startdir/pkg/usr/src/linux-${_kernver}/arch/$KARCH/kernel
for i in acpi asm-generic asm-$KARCH config linux math-emu media net pcmcia scsi sound video; do
cp -a include/$i $startdir/pkg/usr/src/linux-${_kernver}/include/
done
etc...
copied from kerenel26 from here out.
Maybe I have to do more editing in the build dir?
Thanks
Offline
Hi!
Whats the progress on this? I really would like to test a realtime kernel!
Acker
Offline
my guess: he got it (sorta) working
Stand back, intruder, or i'll blast you out of space! I am Klixon and I don't want any dealings with you human lifeforms. I'm a cyborg!
Offline
Pages: 1