3 # Copyright (C) 2013 Intel Corporation; author Matt Fleming
5 # This program is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation, Inc., 53 Temple Place Ste 330,
8 # Boston MA 02111-1307, USA; either version 2 of the License, or
9 # (at your option) any later version; incorporated herein by reference.
14 echo "Usage: " $0 "[start|stop] <srcdir> <config>" > /dev
/stderr
24 tmpdir
=`mktemp -d || exit 1`
27 mkdir
-p $tmpdir/tftpboot
/pxelinux.cfg
28 cp $2 $tmpdir/tftpboot
/pxelinux.cfg
/default
30 # This doesn't work if we built with O=/tmp/foobar
31 #make -p -s -C $1 bios netinstall INSTALLROOT=$tmpdir > /dev/stderr
32 for f
in `find $1/bios -name "*.c32" -o -name "*.0"`; do
33 cp $f $tmpdir/tftpboot
/