adding embeds

This commit is contained in:
brent s. 2015-06-29 04:34:09 -04:00
parent 8b617c6fb1
commit 8c44a222fa
4 changed files with 16 additions and 4 deletions

3
README
View File

@ -162,3 +162,6 @@ $ git submodule init
$ git submodule update

to make sure you pull the submodules into your working tree.
You'll then want to cd src/ipxe/src and do:

$ make everything EMBED=../../ipxe_local/EMBED

View File

@ -287,10 +287,15 @@ EOF
# are we rsyncing?
if [ -n "${RSYNC_HOST}" ];
then
rsync -a ${TFTPDIR}/. ${RSYNC_HOST}:${RSYNC_DEST}/tftpboot/.
rsync -a ${HTTPDIR}/. ${RSYNC_HOST}:${RSYNC_DEST}/http/.
echo "Now sending to ${RSYNC_HOST} via rsync. This may take a while..."
echo "Sending TFTP files..."
rsync -a --info=progress2 ${TFTPDIR} ${RSYNC_HOST}:${RSYNC_DEST}/.
echo "Sending HTTP files..."
rsync -a --info=progress2 ${HTTPDIR} ${RSYNC_HOST}:${RSYNC_DEST}/.
# rsync -a ${TEMPDIR}/boot/${UXNAME}.* ${RSYNC_HOST}:${RSYNC_DEST}/http/.
rsync -a ${ISODIR}/. ${RSYNC_HOST}:${RSYNC_DEST}/iso/.
rsync -a ${ROOTDIR}/extra/. ${RSYNC_HOST}:${RSYNC_DEST}/extra/.
echo "Sending the ISO files..."
rsync -a --info=progress2 ${ISODIR} ${RSYNC_HOST}:${RSYNC_DEST}/.
echo "Sending extra files..."
rsync -a --info=progress2 ${ROOTDIR}/extra ${RSYNC_HOST}:${RSYNC_DEST}/.
fi
}

4
src/ipxe_local/EMBED Normal file
View File

@ -0,0 +1,4 @@
#!ipxe

dhcp
chain http://bdisk.square-r00t.net