root/contrib/pxe-installer/build.sh
| Revision d24f377aeb6c2d15f0326753551ca2e7bb84c7bf, 259 bytes (checked in by Frederic Lepied <frederic.lepied@…>, 3 years ago) | |
|---|---|
|
|
| Line | |
|---|---|
| 1 | #!/bin/sh |
| 2 | |
| 3 | set -e |
| 4 | set -x |
| 5 | |
| 6 | OS=lenny-root |
| 7 | debootstrap lenny $OS http://compil:9999/debian |
| 8 | chroot $OS apt-get install linux-image-2.6.26-1-686 pciutils partimage parted |
| 9 | mv $OS/boot/vmli* . |
| 10 | rm -f $OS/boot/init* |
| 11 | rm -rf $OS/usr/share/{man,info,locale} |
| 12 | cp init $OS/ |
Note: See TracBrowser
for help on using the browser.
