No *kmp-vanilla packages

I wanted to use the kernel-vanilla package for oss reasons.

I have a requirement for Qemu and the kqemu-kmp package. Unfortunately, there aren’t any kmp built for kernel-vanilla. I started poking around with the kqemu-kmp spec file and noticed:


for flavor in %flavors_to_build; do
     ./configure --kernel-path=/usr/src/linux-obj/%_target_cpu/$flavor
     make clean
     make
     make -C /usr/src/linux-obj/%_target_cpu/$flavor modules_install M=$PWD
done

After looking in /usr/src/linux-obj/%_target_cpu/$flavor I noticed that -vanilla doesn’t have a lot of the stuff the other flavors do.

It looks like all that is missing is some files in
/usr/src/linux-obj/$ARCH/vanilla

I am experimenting with this and copied the files from
/usr/src/linux-obj/$ARCH/default and changed them to say -vanilla instead of
-default

bash# grep “-default” $(find /usr/src/linux-obj/i586/default -type f)

./include/config/kernel.release:2.6.25.16-0.1-default
./include/config/auto.conf:CONFIG_LOCALVERSION="-default"
./include/linux/utsrelease.h:#define UTS_RELEASE “2.6.25.16-0.1-default”
./include/linux/autoconf.h:#define CONFIG_LOCALVERSION “-default”

So I changed these to -vanilla…

But this ended up producing a kqemu-kmp-vanilla rpm that was dependent on a
non-existant kernel-syms-vanilla. I am fumbling around blindly here and would
love some help or a push for the kmp packages.