| | 1 | |
| | 2 | Go back --> [wiki:Documentation] |
| | 3 | |
| | 4 | |
| | 5 | == BuildingDrivers == |
| | 6 | |
| | 7 | This section will explain how you can build your own drivers using our baseline images. First, to save image space we have not provided the linux-headers package installed on the image. You can obtain this using apt. So first, determine your debian's kernel image: |
| | 8 | |
| | 9 | {{{ |
| | 10 | node1-1:/usr/src# dpkg -l| grep image |
| | 11 | ii linux-image-2.6-686 2.6.18+5 Linux kernel 2.6 image on PPro/Celeron/PII/P |
| | 12 | ii linux-image-2.6.18-3-686 2.6.18-7 Linux 2.6.18 image on PPro/Celeron/PII/PIII/ |
| | 13 | }}} |
| | 14 | |
| | 15 | Then, proceed to install the kernel headers and kbuild for this package: |
| | 16 | |
| | 17 | {{{ |
| | 18 | apt-get install linux-headers-2.6.18-3-686 linux-kbuild-2.6.18 |
| | 19 | }}} |
| | 20 | |