summaryrefslogtreecommitdiffstats
path: root/tools/i386/netboot/makeImages
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2006-03-09 15:19:15 +0000
committerPascal Rigaux <pixel@mandriva.com>2006-03-09 15:19:15 +0000
commit80e6766c09a5783c386f62c63c9549a4b4101aa9 (patch)
treefc1ff1a5494e5ec2e6d794f5b1672ade7164a00d /tools/i386/netboot/makeImages
parentae1373ffde655f2061cb1241bb39b0796b5e2870 (diff)
downloaddrakx-80e6766c09a5783c386f62c63c9549a4b4101aa9.tar
drakx-80e6766c09a5783c386f62c63c9549a4b4101aa9.tar.gz
drakx-80e6766c09a5783c386f62c63c9549a4b4101aa9.tar.bz2
drakx-80e6766c09a5783c386f62c63c9549a4b4101aa9.tar.xz
drakx-80e6766c09a5783c386f62c63c9549a4b4101aa9.zip
drop unused stuff, PXE is easier nowodays
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 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