Go to file
2014-11-11 13:39:27 -05:00
appmenus_fc17 appmenus: whitelists for fc17 2012-06-22 21:16:41 +02:00
appmenus_fc18 Fedora 18 initial support 2012-10-27 21:31:20 +02:00
appmenus_fc20 fedora: Remove "Software Update" appmenu for template (#871) 2014-07-02 19:58:31 +02:00
appmenus_fc20_minimal fedora: initial configuration for "minimal" template (#828) 2014-05-13 04:49:13 +02:00
appmenus_generic fedora: Remove "Software Update" appmenu for template (#871) 2014-07-02 19:58:31 +02:00
appmenus_jessie Debian: Configured all wheezy/jessie+gnome whitelists 2014-11-03 02:39:08 -05:00
appmenus_jessie_gnome Debian: Configured all wheezy/jessie+gnome whitelists 2014-11-03 02:39:08 -05:00
appmenus_wheezy Debian: Configured all wheezy/jessie+gnome whitelists 2014-11-03 02:39:08 -05:00
appmenus_wheezy_gnome Debian: Configured all wheezy/jessie+gnome whitelists 2014-11-03 02:39:08 -05:00
prepared_images Support different versions of the same distribution 2013-02-16 21:21:05 +01:00
qubeized_images Initial public commit. 2010-04-06 00:25:37 +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
scripts_archlinux archlinux: template flavor support including "minimal" template 2014-08-02 23:58:06 +02:00
scripts_debian whonix: Changes to allow secure update 2014-11-11 13:39:27 -05:00
scripts_fedora fedora: use template-builder's yum.conf when installing 3rd party pkgs 2014-10-08 13:20:20 +02:00
tests debian: honor verbose; fixed bug where base package.list was not being used 2014-11-03 23:59:48 -05:00
yum_repo_qubes debian: use real apt repo for qubes packages installation 2014-07-26 04:35:11 +02:00
.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 appvm version 1.1.3 2010-06-30 13:03:23 +02:00
build_template_rpm makefile: Fix building many different template rpm packages at the same time 2013-02-24 13:33:57 +01:00
builder_fix_filenames Added ability to name tempaltes within configuration file and check/fix to make sure names under 32 characters 2014-10-24 16:17:29 -04:00
builder_setup Removed commented out function that is not used 2014-11-03 23:57:21 -05:00
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 fedora: reduce minimal template 2014-05-21 19:23:36 +02:00
convert_app2template.sh appmenus: preserve file header 2013-01-23 15:59:08 +01:00
create_apps_templates.sh appmenus: choose whitelists basing on distribution version 2012-06-22 21:12:57 +02:00
create_template_list.sh Added verbose indication telmplate files was downloading from AppVM 2014-11-11 09:00:54 -05:00
functions.sh Made sure color chroot function returned shell exit status and not trigger error within that function 2014-11-11 08:57:41 -05:00
Makefile Added ability to name tempaltes within configuration file and check/fix to make sure names under 32 characters 2014-10-24 16:17:29 -04:00
mount_root.sh Initial public commit. 2010-04-06 00:25:37 +02:00
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 Use a script for filling the rpms_to_install symlinks automatically 2011-07-02 14:38:46 +02:00
templates.spec Include (empty) apps.tempicons directory (#896) 2014-09-09 22:04:45 +02:00
umount_kill.sh Sync to disk before un-mounting 2014-11-06 23:58:34 -05:00
version version 2.1.7 2014-07-28 18:56:05 +02:00
yum.conf qubeize_image: use yum repo for Qubes-specific rpms instead of symlinks 2012-11-14 16:12:18 +01: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.