This commit is contained in:
BVK Chaitanya 2010-06-03 11:52:33 +05:30
parent bd7390ee84
commit a60f6ee1ac
15 changed files with 131 additions and 343 deletions

View file

@ -123,15 +123,11 @@ source /boot/grub/testcase.cfg
halt
EOF
rootdir=`mktemp -d`
(cd @abs_top_builddir@ && make DESTDIR=$rootdir install) >/dev/null 2>&1
isofile=`mktemp`
sh @abs_top_builddir@/grub-mkrescue --grub-mkimage=${builddir}/grub-mkimage \
--override-directory=${builddir}/grub-core --output=${isofile} \
boot/grub/grub.cfg=${cfgfile} \
/boot/grub/testcase.cfg=${source} >/dev/null 2>&1
rm -rf $rootdir
hdafile=`mktemp`
cp ${isofile} ${hdafile}