summaryrefslogtreecommitdiffstats
path: root/tools/i386/netboot/makeImages
diff options
context:
space:
mode:
authorMystery Man <unknown@mandriva.org>2004-07-15 06:27:30 +0000
committerMystery Man <unknown@mandriva.org>2004-07-15 06:27:30 +0000
commit9a047aaee6ce50ac6f4ed6f51f590764c4a8c4c2 (patch)
treeb5ddf2e127d03e3a0f8fbf0caded464da2ed447c /tools/i386/netboot/makeImages
parent416a326f1fc775511cf1eac2c04cca2a69d9961a (diff)
downloaddrakx-backup-do-not-use-9a047aaee6ce50ac6f4ed6f51f590764c4a8c4c2.tar
drakx-backup-do-not-use-9a047aaee6ce50ac6f4ed6f51f590764c4a8c4c2.tar.gz
drakx-backup-do-not-use-9a047aaee6ce50ac6f4ed6f51f590764c4a8c4c2.tar.bz2
drakx-backup-do-not-use-9a047aaee6ce50ac6f4ed6f51f590764c4a8c4c2.tar.xz
drakx-backup-do-not-use-9a047aaee6ce50ac6f4ed6f51f590764c4a8c4c2.zip
This commit was manufactured by cvs2svn to create tag 'V10_54mdk'.V10_54mdk
Diffstat (limited to 'tools/i386/netboot/makeImages')
-rwxr-xr-xtools/i386/netboot/makeImages31
1 files changed, 0 insertions, 31 deletions
diff --git a/tools/i386/netboot/makeImages b/tools/i386/netboot/makeImages
deleted file mode 100755
index 79d45c11e..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.91" # Path were grub is stored
-DRIVERTOCOMPILE=`grep NETBOOT_DRIVERS= ${PATHGRUB}/configure.in | cut -d " " -f 4 | cut -d "." -f 1`
-
-echo "Cleaning old drivers"
-for i in `ls`
-do
- if [ -d $i ]; 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