You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-49Lines changed: 7 additions & 49 deletions
Original file line number
Diff line number
Diff line change
@@ -109,35 +109,16 @@ Windows 10 runner
109
109
110
110
Runners created from this image preinstall all dependencies (including those specified in the main repo, like GStreamer and Chocolatey deps), preload the main repo, and prebuild Servo in the release profile.
111
111
112
-
To build the base vm, first build a clean image:
112
+
To build the base vm image:
113
113
114
114
- Download images into /var/lib/libvirt/images
115
115
- Windows 10 (multi-edition ISO), English (United States): [Win10_22H2_English_x64v1.iso](https://www.microsoft.com/en-us/software-download/windows10ISO) (sha256 = a6f470ca6d331eb353b815c043e327a347f594f37ff525f17764738fe812852e)
- Update new base image: `./mount-runner.sh servo-windows10.new $PWD/windows10/configure-base.sh`
133
-
- Take a snapshot: `zfs snapshot tank/base/servo-windows10.new@configure-base`
134
-
- Boot temporary vm guest: `virsh start servo-windows10.new`
135
-
- Wait for the guest to shut down, which indicates Servo was built successfully
136
-
- Take another snapshot: `zfs snapshot tank/base/servo-windows10.new@ready`
116
+
- Run the build script: `windows10/build-image.sh`
117
+
- FIXME: if Windows fails to autologon (stuck at lock screen): `virsh reboot servo-windows10.new`
137
118
- Destroy the old base image (if it exists): `zfs destroy -r tank/base/servo-windows10`
138
119
- Rename the new base image: `zfs rename tank/base/servo-windows10{.new,}`
120
+
- Create the base libvirt guest (if it doesn’t exist): `virt-clone --preserve-data --check path_in_use=off -o servo-windows10.new -n servo-windows10 -f /dev/zvol/tank/base/servo-windows10`
139
121
- Undefine the temporary libvirt guest: `virsh undefine servo-windows10.new`
140
-
- Create the base libvirt guest (if it doesn’t exist): `virt-clone --preserve-data --check path_in_use=off -o servo-windows10.clean -n servo-windows10 -f /dev/zvol/tank/base/servo-windows10`
141
122
142
123
To clone and start a new runner:
143
124
@@ -150,36 +131,13 @@ Ubuntu runner
150
131
151
132
Runners created from this image preinstall all dependencies (including those specified in the main repo, like mach bootstrap deps), preload the main repo, and prebuild Servo in the release profile.
152
133
153
-
To build the base vm, first build a clean image:
134
+
To build the base vm image:
154
135
155
-
- Download images into /var/lib/libvirt/images
156
-
- Ubuntu Server 22.04 cloud image: [jammy-server-cloudimg-amd64.img](https://cloud-images.ubuntu.com/jammy/20241217/jammy-server-cloudimg-amd64.img) (sha256 = 0d8345a343c2547e55ac815342e6cb4a593aa5556872651eb47e6856a2bb0cdd)
157
-
- Create zvol and libvirt guest with random UUID and MAC address
0 commit comments