Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Building - Version 6 and Later

Building the Windows tools using the build scripts

Setup

To setup a Windows virtual machine as part of the setup step of the build scripts, just use the -w option, followed by the URL of a Windows 32 bits ISO.

The script will create the VM and tell you to VNC to it to set it up.

Here's what to do:

$ sudo apt-get install vncviewer
$ vnc <Windows VM>:<port>     # The script should tell you what the port is
  • Once you're in the VM, start a custom Windows install.
  • It will fail to find a disk driver, so click "Load driver", and navigate to viostor in the second CDROM, then the subfolder that corresponds to your version of Windows (win8.1 drivers work fine on Windows 10).
  • Finish the installation. The VM won't automatically come back after the first reboot, so type "continue" and setup.sh will restart it.
  • Optional: once the installation is done, you can finally fix the erratic mouse by going to the control panel and disable "Enhance mouse position" or something like that.
  • Go to the Device Manager and update the driver of the ethernet card using "NetKVM" from the second CDROM.
  • Open powershell as root and type "Set-ExecutionPolicy Unrestricted", then Y [enter].
  • In the start menu, type UAC [enter], and disable user access control.
  • Update Windows
  • Download and install git for Windows, open an Administrator cmd window and:
    • Clone openxt.git (setup.sh should tell you the URI to use for the git mirror)
    • cd openxt\windows
    • powershell .\mkbuildserver.ps1
    • The script will install packages and stuff, and make you reboot a bunch of times. Re-run the script as Administrator after each reboot
  • After the last reboot, the BuildDaemon should start. That's what will be used for further Windows interaction. You can now close VNC and type "continue" in setup.sh

Build

If the setup went well, build.sh should just see the Windows VM and automatically make it build and retrieve the build output.

Manual process for building the OpenXT Windows tools

Windows build machine setup

...