Go to file
Marek Marczykowski-Górecki 94f944b81c Remove old repo directory
2015-03-10 23:57:13 +01: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
rpm
rpmbuild Remove "empty" directory, already ignored by gitignore 2013-12-08 20:32:36 +01:00
tests New tests to work with updated functions.sh 2015-02-14 12:32:54 -05:00
.gitignore Add support for plugins, move all distribution-specific code there 2015-03-10 23:57:13 +01:00
appvm.buildlog
build_template_rpm Add support for plugins, move all distribution-specific code there 2015-03-10 23:57:13 +01: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 If template_flavor only contains a '+'; send back $DIST 2015-02-14 12:31:43 -05:00
functions.sh Provide chroot() wrapper also in quiet mode 2015-02-19 04:07:51 +01:00
Makefile Add support for plugins, move all distribution-specific code there 2015-03-10 23:57:13 +01:00
mount_root.sh
prepare_image Add support for plugins, move all distribution-specific code there 2015-03-10 23:57:13 +01:00
qubeize_image Add support for plugins, move all distribution-specific code there 2015-03-10 23:57:13 +01:00
README
templates.spec Add support for plugins, move all distribution-specific code there 2015-03-10 23:57:13 +01:00
umount_kill.sh Improve mount detection and better able to umount problem mounts 2015-02-14 12:32:44 -05:00
version version 2.1.8 2014-09-14 00:41:46 +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.