"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "utils/FOGiPXE/buildipxe.sh" between
fogproject-1.5.6.tar.gz and fogproject-1.5.7.tar.gz

About: FOG is a Linux-based network computer cloning solution for Windows, Mac OSX and various Linux distributions that ties together a few open-source tools with a PHP-based web interface. FOG doesn\PKG_DESCR_TTrsquo;t use any boot disks, or CDs; everything is done via TFTP and PXE.

buildipxe.sh  (fogproject-1.5.6):buildipxe.sh  (fogproject-1.5.7)
#!/bin/bash #!/bin/bash
if [[ -r $1 ]]; then if [[ -r $1 ]]; then
BUILDOPTS="TRUST=$1" BUILDOPTS="TRUST=$1 CERT=$1"
elif [[ -r /opt/fog/snapins/ssl/CA/.fogCA.pem ]]; then elif [[ -r /opt/fog/snapins/ssl/CA/.fogCA.pem ]]; then
BUILDOPTS="TRUST=/opt/fog/snapins/ssl/CA/.fogCA.pem" BUILDOPTS="TRUST=/opt/fog/snapins/ssl/CA/.fogCA.pem CERT=/opt/fog/snapins/ssl/ CA/.fogCA.pem"
fi fi
IPXEGIT="https://git.ipxe.org/ipxe.git" IPXEGIT="https://git.ipxe.org/ipxe.git"
# Change directory to base ipxe files # Change directory to base ipxe files
SCRIPT=$(readlink -f "$BASH_SOURCE") SCRIPT=$(readlink -f "$BASH_SOURCE")
FOGDIR=$(dirname $(dirname $(dirname "$SCRIPT") ) ) FOGDIR=$(dirname $(dirname $(dirname "$SCRIPT") ) )
BASE=$(dirname "$FOGDIR") BASE=$(dirname "$FOGDIR")
if [[ -d ${BASE}/ipxe ]]; then if [[ -d ${BASE}/ipxe ]]; then
cd ${BASE}/ipxe cd ${BASE}/ipxe
skipping to change at line 34 skipping to change at line 34
# Get current header and script from fogproject repo # Get current header and script from fogproject repo
echo "Copy (overwrite) iPXE headers and scripts..." echo "Copy (overwrite) iPXE headers and scripts..."
cp ${FOGDIR}/src/ipxe/src/ipxescript . cp ${FOGDIR}/src/ipxe/src/ipxescript .
cp ${FOGDIR}/src/ipxe/src/ipxescript10sec . cp ${FOGDIR}/src/ipxe/src/ipxescript10sec .
cp ${FOGDIR}/src/ipxe/src/config/general.h config/ cp ${FOGDIR}/src/ipxe/src/config/general.h config/
cp ${FOGDIR}/src/ipxe/src/config/settings.h config/ cp ${FOGDIR}/src/ipxe/src/config/settings.h config/
cp ${FOGDIR}/src/ipxe/src/config/console.h config/ cp ${FOGDIR}/src/ipxe/src/config/console.h config/
# Build the files # Build the files
make bin/ipxe.iso bin/{undionly,ipxe,intel,realtek}.{,k,kk}pxe bin/ipxe.lkrn bin /ipxe.usb EMBED=ipxescript ${BUILDOPTS} $* make EMBED=ipxescript ${BUILDOPTS} bin/ipxe.iso bin/{undionly,ipxe,intel,realtek }.{,k,kk}pxe bin/ipxe.lkrn bin/ipxe.usb
# Copy files to repo location as required # Copy files to repo location as required
cp bin/ipxe.iso bin/{undionly,ipxe,intel,realtek}.{,k,kk}pxe bin/ipxe.lkrn bin/i pxe.usb ${FOGDIR}/packages/tftp/ cp bin/ipxe.iso bin/{undionly,ipxe,intel,realtek}.{,k,kk}pxe bin/ipxe.lkrn bin/i pxe.usb ${FOGDIR}/packages/tftp/
cp bin/ipxe.lkrn ${FOGDIR}/packages/tftp/ipxe.krn cp bin/ipxe.lkrn ${FOGDIR}/packages/tftp/ipxe.krn
# Build with 10 second delay # Build with 10 second delay
make bin/ipxe.iso bin/{undionly,ipxe,intel,realtek}.{,k,kk}pxe bin/ipxe.lkrn bin /ipxe.usb EMBED=ipxescript10sec ${BUILDOPTS} $* make EMBED=ipxescript10sec ${BUILDOPTS} bin/ipxe.iso bin/{undionly,ipxe,intel,re altek}.{,k,kk}pxe bin/ipxe.lkrn bin/ipxe.usb
# Copy files to repo location as required # Copy files to repo location as required
cp bin/ipxe.iso bin/{undionly,ipxe,intel,realtek}.{,k,kk}pxe bin/ipxe.lkrn bin/i pxe.usb ${FOGDIR}/packages/tftp/10secdelay/ cp bin/ipxe.iso bin/{undionly,ipxe,intel,realtek}.{,k,kk}pxe bin/ipxe.lkrn bin/i pxe.usb ${FOGDIR}/packages/tftp/10secdelay/
cp bin/ipxe.lkrn ${FOGDIR}/packages/tftp/10secdelay/ipxe.krn cp bin/ipxe.lkrn ${FOGDIR}/packages/tftp/10secdelay/ipxe.krn
# Change to the efi layout # Change to the efi layout
if [[ -d ${BASE}/ipxe-efi ]]; then if [[ -d ${BASE}/ipxe-efi ]]; then
cd ${BASE}/ipxe-efi/ cd ${BASE}/ipxe-efi/
git clean -fd git clean -fd
git reset --hard git reset --hard
skipping to change at line 68 skipping to change at line 68
# Get current header and script from fogproject repo # Get current header and script from fogproject repo
echo "Copy (overwrite) iPXE headers and scripts..." echo "Copy (overwrite) iPXE headers and scripts..."
cp ${FOGDIR}/src/ipxe/src-efi/ipxescript . cp ${FOGDIR}/src/ipxe/src-efi/ipxescript .
cp ${FOGDIR}/src/ipxe/src-efi/ipxescript10sec . cp ${FOGDIR}/src/ipxe/src-efi/ipxescript10sec .
cp ${FOGDIR}/src/ipxe/src-efi/config/general.h config/ cp ${FOGDIR}/src/ipxe/src-efi/config/general.h config/
cp ${FOGDIR}/src/ipxe/src-efi/config/settings.h config/ cp ${FOGDIR}/src/ipxe/src-efi/config/settings.h config/
cp ${FOGDIR}/src/ipxe/src-efi/config/console.h config/ cp ${FOGDIR}/src/ipxe/src-efi/config/console.h config/
# Build the files # Build the files
make bin-{i386,x86_64}-efi/{snp{,only},ipxe,intel,realtek}.efi EMBED=ipxescript ${BUILDOPTS} $* make EMBED=ipxescript ${BUILDOPTS} bin-{i386,x86_64}-efi/{snp{,only},ipxe,intel, realtek}.efi
# Copy the files to upload # Copy the files to upload
cp bin-i386-efi/{snp{,only},ipxe,intel,realtek}.efi ${FOGDIR}/packages/tftp/i386 -efi/ cp bin-i386-efi/{snp{,only},ipxe,intel,realtek}.efi ${FOGDIR}/packages/tftp/i386 -efi/
cp bin-x86_64-efi/{snp{,only},ipxe,intel,realtek}.efi ${FOGDIR}/packages/tftp/ cp bin-x86_64-efi/{snp{,only},ipxe,intel,realtek}.efi ${FOGDIR}/packages/tftp/
# Build with 10 second delay # Build with 10 second delay
make bin-{i386,x86_64}-efi/{snp{,only},ipxe,intel,realtek}.efi EMBED=ipxescript1 0sec ${BUILDOPTS} $* make EMBED=ipxescript10sec ${BUILDOPTS} bin-{i386,x86_64}-efi/{snp{,only},ipxe,i ntel,realtek}.efi
# Copy the files to upload # Copy the files to upload
cp bin-i386-efi/{snp{,only},ipxe,intel,realtek}.efi ${FOGDIR}/packages/tftp/10se cdelay/i386-efi/ cp bin-i386-efi/{snp{,only},ipxe,intel,realtek}.efi ${FOGDIR}/packages/tftp/10se cdelay/i386-efi/
cp bin-x86_64-efi/{snp{,only},ipxe,intel,realtek}.efi ${FOGDIR}/packages/tftp/10 secdelay/ cp bin-x86_64-efi/{snp{,only},ipxe,intel,realtek}.efi ${FOGDIR}/packages/tftp/10 secdelay/
 End of changes. 6 change blocks. 
6 lines changed or deleted 6 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)