summaryrefslogtreecommitdiffstats
path: root/tools/i386/netboot/makeImages
diff options
context:
space:
mode:
Diffstat (limited to 'tools/i386/netboot/makeImages')
-rwxr-xr-xtools/i386/netboot/makeImages8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/i386/netboot/makeImages b/tools/i386/netboot/makeImages
index 79d45c11e..39d13df73 100755
--- a/tools/i386/netboot/makeImages
+++ b/tools/i386/netboot/makeImages
@@ -1,13 +1,13 @@
#!/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`
+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 ]; then
+ if [ -d $i ] && [ $i != CVS ]; then
rm -rf $i
fi
@@ -26,6 +26,6 @@ for i in ${DRIVERTOCOMPILE}
cp stage2/stage2 ${LOCALPATH}/$i/stage2
cp stage2/pxegrub ${LOCALPATH}/$i/pxegrub
cp stage2/nbgrub ${LOCALPATH}/$i/nbgrub
- echo "compil done for " $i
+ echo "compil done for" $i
done
cp ${PATHGRUB}/grub/grub ${LOCALPATH} -f