I've made a kickstart file for Red Hat in which I need the kernel to be recompiled as one of the post-install tasks.
I can't get it to work, can someone please point out what I am doing wrong.
This is the post section of my ks.cfg file (the rest of the file is doing it's job).
/sbin/mkinitrd -f /boot/initrd-2.4.7-10.img 2.4.7-10
/sbin/mkinitrd -f /boot/initrd-2.4.7-10smp.img 2.4.7-10smp