| 41 | |
| 42 | ''' |
| 43 | Installing GEXEC in the PXE-Image''' |
| 44 | |
| 45 | |
| 46 | To install gexec service in the pxe image following changes have to be made to the pxe makefile: |
| 47 | |
| 48 | 1. The GEXEC has problems running on kernel version 2.6.14 (current pxe version). So change the version to 2.6.12 (same as the baseline kernel version). |
| 49 | |
| 50 | 2. Add all the lib depencies of gexec: /usr/lib/libssl.so.0.9.8 /usr/local/lib/libe.a /usr/lib/libcrypto.so.0.9.8 /usr/lib/libz.so.1 /lib/libcrypt.so.1 /lib/libpthread.so.0 |
| 51 | |
| 52 | 3. Add the keys auth_priv.pem and auth_pub.pem to /etc/<file_name>. |
| 53 | |
| 54 | 4. Add the required binary files (gexec ,gexecd and authd) to /usr/sbin. |
| 55 | |
| 56 | 5. Add a shell script start to the init.d/rcS script to be executed at the time of booting of image. The script performs 3 operations: |
| 57 | I. Runs authd |
| 58 | |
| 59 | II. Runs gexecd |
| 60 | |
| 61 | III.Loads the environment variable LD_ASSUME_KERNEL="2.4.2" for the reasons stated above. |
| 62 | |
| 63 | |
| 64 | |
| 65 | |