Go to file
Jason Mehring cbecd6e481
Fix renaming templates that have a flavor and options such as gnome
jessie+whonix-workstation+gnome+standard was not converting name using
TEMPLATE_LABEL since the options we getting mangled (+gnomestandard)
where thye should have returned (+gnome+standard)
2015-06-03 23:39:54 -04:00
appmenus_generic fedora: Remove "Software Update" appmenu for template (#871) 2014-07-02 19:58:31 +02:00
prepared_images Support different versions of the same distribution 2013-02-16 21:21:05 +01:00
qubeized_images gitignore 2015-03-31 23:00:40 +02:00
rpm Initial public commit. 2010-04-06 00:25:37 +02:00
rpmbuild Remove "empty" directory, already ignored by gitignore 2013-12-08 20:32:36 +01:00
tests Reworked the way template flavor files are found to allow flavors 2015-04-13 14:48:27 -04:00
.gitignore gitignore 2015-03-19 22:59:57 +01:00
appvm.buildlog appvm version 1.1.3 2010-06-30 13:03:23 +02:00
build_template_rpm appmenus: fix sanitization regexp 2015-04-10 17:51:46 +02:00
builder_fix_filenames Simplify template name processing 2015-01-30 04:10:43 +01:00
builder_setup Add support for plugins, move all distribution-specific code there 2015-03-10 23:57:13 +01:00
cleanup_image Debian Wheezy template addition and refactoring to allow Whonix TEMPLATE_FLAVOR 2014-10-14 12:02:12 -04:00
create_template_list.sh AppVM was hard coded by mistake. Changed to pick up users AppVM name 2014-11-17 16:39:02 -05:00
functions-name.sh Fix renaming templates that have a flavor and options such as gnome 2015-06-03 23:39:54 -04:00
functions.sh SYSTEMD_NSPAWN_ENABLE was missing from chroot if VERBOSE was < 2 2015-04-27 21:18:07 -04:00
Makefile Fix update-repo-installer target - correct timestamp file 2015-03-19 22:58:50 +01:00
mount_root.sh Initial public commit. 2010-04-06 00:25:37 +02:00
prepare_image Add support for plugins, move all distribution-specific code there 2015-03-10 23:57:13 +01:00
qubeize_image Allow appmenus to be located using APPMENUS_DIR ENV variable 2015-04-27 21:20:29 -04:00
README Use a script for filling the rpms_to_install symlinks automatically 2011-07-02 14:38:46 +02:00
templates.spec rpm: fix post-installation script - call relevant parts as user 2015-05-17 00:01:09 +02:00
umount_kill.sh Improve mount detection and better able to umount problem mounts 2015-02-14 12:32:44 -05:00
version version 3.0.2 2015-05-17 01:29:38 +02:00

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.