Before Fedora made the decision to create the unified file system in F17, I was able to compile custom vanilla kernels from kernel.org via the following steps:
- download kernel from kernel.org
- untar and move it to /usr/src
- copy an old .config from Fedora's kernel-devel into the new kernel
- make oldconfig
- make menuconfig
- make rpm
- rpm -ivh <new kernel>
- go to /lib/modules/<new kernel>
- change the symlink for /lib/modules/<new kernel>/build to point to /usr/src/rpm/BUILD/<new kernel> instead of /usr/src/<new kernel>
- run mkinitrd and edit grub
However, now that F17 has moved with the unified file system, can anyone please explain to me how will this affect a vanilla kernel build since /lib/modules is now located to /usr/lib/modules and what are the precise steps needed to ensure that the kernel installs to /usr/lib/modules and not /lib/modules?
Also, In the future where the /lib and /lib64 symlinks will be removed, how will this affect the vanilla kernel builds again?
Also, how will this affect compat-wireless? compat-wireless always looks into lib/modules/<kernel version> and takes firmware from /lib/firmware , how should I ensure that compat will look for /usr/lib and not /lib or /lib64 in the event that Fedora eventually removes the symlinks?