[quote=“Patrick, post:1, topic:1047”]Why not use https://github.com/Whonix/Whonix/blob/master/build-steps.d/1300_create-raw-image during the qubes-whonix build process?
That is how Whonix raw images are usually build.
Anything wrong with it?
Because Qubes Builder somehow expects using the Qubes base Debian base image and doesn’t like a “I do all the base image creation, mounting and whatever else until competition” for you way?[/quote]
That’s funny. I was just thinking the same thing yesterday when I was having package dependency issues for Whonix 11. Since I solved the issue by installing Whonix first, I did not need to proceed any further.
Since I figured you may be interested in the complete build process, I have provided most of the scripts that are called in order of being called to create Whonix template. I authored all of them except
Install Extra Debian Packages
02_install_groups_pre.sh is what I used for Whonix 11,
02_install_groups_wheezy.sh for Whonix 9.6 and 10
Install any specific package that are for distribution (Since certain distros may need special handling… These routines can build wheezy, jessie, whonix, trusty, utopic and vivid at the moment)
Create a copy of prepared image to add qubes components and settings. Kind of a snapshot so the above does not need to be re-run if only updating Qubes packages.
Actual script to install packages, modify settings
Whonix script; restores apt-get, etc back to Whonix state