Go to file
2014-10-22 17:16:35 -04:00
appmenus_fc17
appmenus_fc18
appmenus_fc20
appmenus_fc20_minimal
appmenus_generic
appmenus_jessie
appmenus_wheezy Debian Wheezy template addition and refactoring to allow Whonix TEMPLATE_FLAVOR 2014-10-14 12:02:12 -04:00
mnt
prepared_images
qubeized_images
rpm
rpmbuild
scripts_archlinux archlinux: template flavor support including "minimal" template 2014-08-02 23:58:06 +02:00
scripts_debian Removed wheezy packages deps from whonix list since wheezy packages will now also be installed seperately 2014-10-22 17:16:35 -04:00
scripts_fedora fedora: use template-builder's yum.conf when installing 3rd party pkgs 2014-10-08 13:20:20 +02:00
tests Created function to load package.list from proper directories. There can be multiple targets if TEMPLATE_FLAVOR and sub flavors are defined. All package.list files are kept within each flavor directory 2014-10-22 16:37:26 -04:00
yum_repo_qubes
.gitignore Added a create-template-list.sh which can be used to get new templates from dom0 2014-10-18 08:59:21 -04:00
appvm.buildlog
build_template_rpm
builder_setup
cleanup_image Debian Wheezy template addition and refactoring to allow Whonix TEMPLATE_FLAVOR 2014-10-14 12:02:12 -04:00
comps-qubes-template.xml
convert_app2template.sh
create_apps_templates.sh
create_template_list.sh need to be sudo to install template 2014-10-20 12:25:31 -04:00
functions.sh Created function to load package.list from proper directories. There can be multiple targets if TEMPLATE_FLAVOR and sub flavors are defined. All package.list files are kept within each flavor directory 2014-10-22 16:37:26 -04:00
Makefile Renamed create-template-list.sh to create_template_list.sh; overwrite file each time 2014-10-18 10:53:11 -04:00
mount_root.sh
prepare_image Added colorized messages and changed scripts to use them 2014-10-16 12:03:05 -04:00
qubeize_image Remove UPDATE 2014-10-19 01:18:58 -04:00
README
templates.spec Include (empty) apps.tempicons directory (#896) 2014-09-09 22:04:45 +02:00
umount_kill.sh deb commit for modified packages should be working now 2014-10-17 23:34:01 -04:00
version
yum.conf

The Template Builder
======================

1) First, create a clean image of Fedora Linux install. You can use the fedoraize_image
script for this:

fedorize_image <image> <file-with-packets-lists>

NOTE: The fedorize_image script can be also used to update an image -- it
automatically assumes the update mode if the <image> already exists.

2) Update symlinks in rpms_to_install/ using the create_symlinks_in_rpms_to_install_dir.sh script. The script
reads the core, gui, and xen packages versions from version_{core,gui,xen} files and creates appropriate symlinks
in rpms_to_install/ dir.

Verify that all symlinks are correct.

3) Now, you can "qubeize" the image. This must be done as root. E.g.:

# ./qubeize_image <img> <template-name>

4) Finally, build the Template RPM (do it as normal user, not root), e.g.: 

$./build_rpm <name>

The resulting rpm is stored in rpm/noarch directory.