How to prepare BT5 kernel sources (vmare tools, drivers, etc)

From BackTrack Linux
Jump to: navigation, search


Occasionally you might want to compile code that requires kernel headers (such as compat-wireless, or other drivers). These are quick instructions on how to do so.

root@bt:~# prepare-kernel-sources
root@bt:~# cd /usr/src/linux
root@bt:~# cp -rf include/generated/* include/linux/

NOTE: You need to be connected to the internet in order to download the linux-source package.