From dad1d3e7f978104cd2a5a9070f0762dcd7bd6db0 Mon Sep 17 00:00:00 2001 From: 2Shirt <2xShirt@gmail.com> Date: Sat, 18 Mar 2023 19:09:02 -0700 Subject: [PATCH] Switch to Github release for wimboot --- setup/build_linux | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/setup/build_linux b/setup/build_linux index 3afe2a2d..73c05197 100755 --- a/setup/build_linux +++ b/setup/build_linux @@ -118,13 +118,12 @@ function update_live_env() { sed -i -r "s/SUPPORT_URL/$KIT_NAME_SHORT/" "$PROFILE_DIR/profiledef.sh" # Boot config (legacy) - mkdir -p "$PROFILE_DIR/syslinux/wimboot" + mkdir -p "$TEMP_DIR" 2>/dev/null + git clone --depth=1 https://github.com/ipxe/wimboot "$TEMP_DIR/wimboot" + rsync -aI "$TEMP_DIR/wimboot"/{LICENSE.txt,README.md,wimboot} "$PROFILE_DIR/syslinux/wimboot/" cp "$ROOT_DIR/images/Pxelinux.png" "$PROFILE_DIR/syslinux/pxelinux.png" cp "$ROOT_DIR/images/Syslinux.png" "$PROFILE_DIR/syslinux/syslinux.png" sed -i -r "s/__+/$KIT_NAME_FULL/" "$PROFILE_DIR/syslinux/syslinux.cfg" - mkdir -p "$TEMP_DIR" 2>/dev/null - curl -Lo "$TEMP_DIR/wimboot.zip" "http://git.ipxe.org/releases/wimboot/wimboot-latest.zip" - 7z e -aoa "$TEMP_DIR/wimboot.zip" -o"$PROFILE_DIR/syslinux/wimboot" 'wimboot*/LICENSE.txt' 'wimboot*/README.txt' 'wimboot*/wimboot' # Boot config (UEFI) curl -Lo "$TEMP_DIR/refind.zip" "https://sourceforge.net/projects/refind/files/latest/download"