Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated URL for Cross Compiler binaries #297

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions control/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,19 @@ install_packages() {
}

download_cross_compiler() {
url="http://landley.net/aboriginal/downloads/binaries/cross-compiler-i686.tar.bz2"
url="http://landley.net/code/firmware/downloads/binaries/cross-compiler-i686.tar.gz"
archive=`basename "${url}"`
log "Downloading cross compiler archive from ${url} to ${ievms_home}/${archive}"
if [[ ! -e "${archive}" ]] && ! curl -L "${url}" -o "${archive}"
then
fail "Failed to download ${url} to ${ievms_home}/${archive} using 'curl', error code ($?)"
fi
}
}

extract_cross_compiler() {
cross_compiler=`basename "${archive}" .tar.bz2`
cross_compiler=`basename "${archive}" .tar.gz`
log "Extracting cross compiler archive from ${archive} to ${ievms_home}/${cross_compiler}"
if [[ ! -e "${cross_compiler}" ]] && ! tar -jxf "${archive}"
if [[ ! -e "${cross_compiler}" ]] && ! tar -xzf "${archive}"
then
fail "Failed to extract ${archive} to ${ievms_home}/${cross_compiler} using 'tar', error code ($?)"
fi
Expand Down Expand Up @@ -164,4 +164,4 @@ unpack_iso
extract_initrd
copy_scripts
compress_initrd
pack_iso
pack_iso
12 changes: 7 additions & 5 deletions ievms.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ set -o pipefail

# ## Global Variables

# The ievms version.
# The vms version.
ievms_version="0.3.1"

# Options passed to each `curl` command.
Expand Down Expand Up @@ -370,8 +370,9 @@ build_ievm() {
fi
;;
EDGE)
prefix="MS"
version="Edge"
#prefix="MS"
#version="Edge"
version="11"
os="Win10"
unit="8"
;;
Expand All @@ -387,7 +388,7 @@ build_ievm() {
local url
if [ "${os}" == "Win10" ]
then
url="https://az792536.vo.msecnd.net/vms/VMBuild_20150801/VirtualBox/MSEdge/Mac/Microsoft%20Edge.Win10.For.Mac.VirtualBox.zip"
url="https://az792536.vo.msecnd.net/vms/VMBuild_20150801/VirtualBox/MSEdge/Windows/Microsoft%20Edge.Win10.For.Windows.VirtualBox.zip"
else
url="http://virtualization.modern.ie/vhd/IEKitV1_Final/VirtualBox/OSX/${archive}"
fi
Expand All @@ -399,7 +400,8 @@ build_ievm() {
IE8_Win7.zip) md5="21b0aad3d66dac7f88635aa2318a3a55" ;;
IE9_Win7.zip) md5="58d201fe7dc7e890ad645412264f2a2c" ;;
IE10_Win8.zip) md5="cc4e2f4b195e1b1e24e2ce6c7a6f149c" ;;
MSEdge_Win10.zip) md5="c1011b491d49539975fb4c3eeff16dae" ;;
MSEdge_Win10.zip) md5="2a591bd4e59c8fc1ca9818c31b99666b" ;;

esac

log "Checking for existing OVA at ${ievms_home}/${ova}"
Expand Down