diff --git a/building/building-whonix-template.md b/building/building-whonix-template.md index a1b5a5f8..e9c4404e 100644 --- a/building/building-whonix-template.md +++ b/building/building-whonix-template.md @@ -7,3 +7,40 @@ redirect_from: --- ## Building Whonix Templates + +The Whonix templates are easily downloaded and installed by following this [procedure](doc/whonix/install/). +However, they are integrated into `qubes-builder` so they are easy to build yourself if you prefer. +Note that you will need to create `anon-whonix` yourself if you do so, but see [this issue](qubes-issues/issues/3601). + +First, create the [Build Environment](doc/qubes-r3-building/) (follow the build environment section only). + +Next, configure the builder: + +~~~ +cd ~/qubes-builder +./setup +# Select Yes to add Qubes Master Signing Key +# Select Yes to add Qubes OS Signing Key +# Select 3.2 or 4.0 for version +# Stable +# Yes (we want to build only templates) +# Select builder-fedora, builder-debian, template-whonix, mgmt-salt (builder will complain if you don't include builder-fedora, but we don't actually use it) +# Choose Yes to add adrelanos@riseup.net third party key +# Yes (to download) +# Select whonix-gateway, whonix-workstation (for the currently shipping templates) +~~~ + +Continue the build process with: + +~~~ +make install-deps +make get-sources +~~~ + +Finally, use: + +~~~ +make qubes-vm +make template +~~~ +