finalize steps

This commit is contained in:
awokd 2018-02-25 20:02:57 +00:00 committed by GitHub
parent ed4771b98d
commit 76a379b3b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,11 +8,14 @@ redirect_from:
## Building Whonix Templates
The Whonix templates are easily downloaded and installed by following the [procedure here](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` manually if you do so, but see [this issue](qubes-issues/issues/3601).
The Whonix templates are easily downloaded and installed by following the [procedure here](/doc/whonix/install/).
However, they are integrated into `qubes-builder` so they are straight-forward to build yourself if you prefer.
First, create the [Build Environment](doc/qubes-r3-building/) (follow the build environment section only).
Many other Qubes templates can also be built by following this procedure.
Simply choose the appropriate builder(s) and template(s) you wish to build in the `./setup` procedure below.
Always include the `mgmt-salt` builder.
First, set up the [Build Environment](/doc/qubes-r3-building/#build-environment) (follow the build environment section only).
Next, configure the builder:
@ -24,9 +27,9 @@ cd ~/qubes-builder
# 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)
# Select builder-fedora, builder-debian, template-whonix, mgmt-salt (setup won't let you continue if you don't include builder-fedora, but we don't actually use it)
# Choose Yes to add adrelanos's third party key
# Yes (to download)
# Yes (to download sources)
# Select whonix-gateway, whonix-workstation (for the currently shipping templates)
~~~
@ -44,3 +47,16 @@ make qubes-vm
make template
~~~
Once the build is complete, the install packages for your newly built templates will be located in `/qubes-builder/qubes-src/linux-template-builder/rpm/noarch`.
Copy them from there to dom0 and install:
~~~
qvm-run --pass-io <src-vm> 'cat ~/qubes-builder/qubes-src/linux-template-builder/rpm/noarch/qubes-template-whonix-gw-4.0.0-201802250036.noarch.rpm' > ~/qubes-template-whonix-gw-4.0.0-201802250036.noarch.rpm
qvm-run --pass-io <src-vm> 'cat ~/qubes-builder/qubes-src/linux-template-builder/rpm/noarch/qubes-template-whonix-ws-4.0.0-201802250145.noarch.rpm' > ~/qubes-template-whonix-ws-4.0.0-201802250145.noarch.rpm
sudo dnf install qubes-template-whonix-gw-4.0.0-201802250036.noarch.rpm
sudo dnf install qubes-template-whonix-ws-4.0.0-201802250145.noarch.rpm
~~~
And you are done!