| 7 | | In a nutshell: |
| 8 | | |
| 9 | | #[/root] apt-get install build-essential module-assistant |
| 10 | | # apt-get install linux-patch-lustre lustre-source linux-tree-2.6.26 |
| 11 | | # cd /usr/src/ && tar jxf linux-source-2.6.26.tar.bz2 && cd linux-source-2.6.26 |
| 12 | | # cp /boot/config-2.6.26–1−686 .config |
| 13 | | # make oldconfig |
| 14 | | # export CONCURRENCY_LEVEL=3 |
| 15 | | # make-kpkg clean |
| 16 | | # ln -s /usr/src/kernel-patches/lustre/scripts/apply /usr/src/kernel-patches/all/2.6.26/apply/lustre |
| 17 | | # ln -s /usr/src/kernel-patches/lustre/scripts/unpatch /usr/src/kernel-patches/all/2.6.26/unpatch/lustre |
| 18 | | # make-kpkg —rootcmd fakeroot —added-patches=lustre —initrd —append-to-version “-lustre-1.6.5.1″ —revision=20090309 kernel_image |
| 19 | | # cd .. |
| 20 | | # dpkg -i linux-image-2.6.26-lustre-1.6.5.1_20090309_i386.deb |
| 21 | | |
| 22 | | Reboot the machine; then: |
| 23 | | |
| 24 | | # m-a update |
| 25 | | # m-a a-i lustre openafs |
| 26 | | # aptitude install openafs-client nfs-common |
| | 7 | $ sudo apt-get install build-essential module-assistant linux-patch-lustre lustre-source linux-tree-2.6.26 |
| | 8 | $ cd /usr/src/ && sudo tar jxf linux-source-2.6.26.tar.bz2 && cd linux-source-2.6.26 |
| | 9 | $ sudo cp /boot/config-2.6.266-1-amd64 .config |
| | 10 | $ sudo make oldconfig |
| | 11 | $ CONCURRENCY_LEVEL=3 sudo make-kpkg clean |
| | 12 | $ sudo ln -s /usr/src/kernel-patches/lustre/scripts/apply /usr/src/kernel-patches/all/2.6.26/apply/lustre |
| | 13 | $ sudo ln -s /usr/src/kernel-patches/lustre/scripts/unpatch /usr/src/kernel-patches/all/2.6.26/unpatch/lustre |
| | 14 | $ CONCURRENCY_LEVEL=3 sudo make-kpkg --rootcmd fakeroot --added-patches=lustre --initrd --append-to-version "-lustre-1.6.5.1" --revision=20090309 kernel_image |
| | 15 | $ cd .. |
| | 16 | $ sudo dpkg -i linux-image-2.6.26-lustre-1.6.5.1_20090309_i386.deb |