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"