diff options
author | Mystery Man <unknown@mandriva.org> | 2005-08-20 21:09:11 +0000 |
---|---|---|
committer | Mystery Man <unknown@mandriva.org> | 2005-08-20 21:09:11 +0000 |
commit | 132ca0305e567b13a0bdf65455e7f04d3d8c33a8 (patch) | |
tree | b6d9f55e281d5d8f037ca88ef643ed483587fb2e /tools/i386/netboot/makeImages | |
parent | b569006d83d0e3c836e9f5eacae81b485015b6c3 (diff) | |
download | drakx-backup-do-not-use-132ca0305e567b13a0bdf65455e7f04d3d8c33a8.tar drakx-backup-do-not-use-132ca0305e567b13a0bdf65455e7f04d3d8c33a8.tar.gz drakx-backup-do-not-use-132ca0305e567b13a0bdf65455e7f04d3d8c33a8.tar.bz2 drakx-backup-do-not-use-132ca0305e567b13a0bdf65455e7f04d3d8c33a8.tar.xz drakx-backup-do-not-use-132ca0305e567b13a0bdf65455e7f04d3d8c33a8.zip |
This commit was manufactured by cvs2svn to create tagV10_3_0_47mdk
'V10_3_0_47mdk'.
Diffstat (limited to 'tools/i386/netboot/makeImages')
-rwxr-xr-x | tools/i386/netboot/makeImages | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/tools/i386/netboot/makeImages b/tools/i386/netboot/makeImages deleted file mode 100755 index 39d13df73..000000000 --- a/tools/i386/netboot/makeImages +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/sh -# compile multiple grub stages (1, 2, pxegrub and nbgrub) for all supported network cards -LOCALPATH=`pwd` -PATHGRUB="../grub-0.95" # Path were grub is stored -DRIVERTOCOMPILE=`grep NETBOOT_DRIVERS= ${PATHGRUB}/configure.ac | cut -d " " -f 4 | cut -d "." -f 1` - -echo "Cleaning old drivers" -for i in `ls` -do - if [ -d $i ] && [ $i != CVS ]; then - rm -rf $i - fi - -done - -cd ${PATHGRUB} - -echo "Compiling new ones" -for i in ${DRIVERTOCOMPILE} - do - make clean - ./configure --enable-$i --enable-diskless - make - mkdir ${LOCALPATH}/$i - cp stage1/stage1 ${LOCALPATH}/$i/stage1 - cp stage2/stage2 ${LOCALPATH}/$i/stage2 - cp stage2/pxegrub ${LOCALPATH}/$i/pxegrub - cp stage2/nbgrub ${LOCALPATH}/$i/nbgrub - echo "compil done for" $i -done -cp ${PATHGRUB}/grub/grub ${LOCALPATH} -f |