Go to file
Joanna Rutkowska bd73bf990a Automatic template versioning (#667)
Use version no of the following form:
    $(version)-$(timestamp)
2012-11-05 15:45:06 +01:00
3rd_party_software install adobe yum repo instead of flash plugin directly (#575) 2012-05-22 16:54:15 +02: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_generic appmenus: choose whitelists basing on distribution version 2012-06-22 21:12:57 +02:00
base_rpms_fc13 Include base rpms and gpg keys for fedora-13 template 2011-09-27 16:30:17 +02:00
base_rpms_fc14 Easy switch of base distro for template ($DIST env var) 2011-09-25 20:47:37 +02:00
base_rpms_fc15 Fedora 15 base pkgs 2011-09-25 20:47:43 +02:00
base_rpms_fc16 Add support for Fedora 16 template 2011-12-11 23:48:02 +01:00
base_rpms_fc17 base pkgs for fc17 template 2012-06-06 03:15:54 +02:00
base_rpms_fc18 Fedora 18 initial support 2012-10-27 21:31:20 +02:00
clean_images fedorize_image: install kernel-placeholder package instead of real kernel (#645) 2012-07-24 03:51:13 +02:00
fedorized_images
keys_fc13 Include base rpms and gpg keys for fedora-13 template 2011-09-27 16:30:17 +02:00
keys_fc14 Easy switch of base distro for template ($DIST env var) 2011-09-25 20:47:37 +02:00
keys_fc15 Fedora 15 base pkgs 2011-09-25 20:47:43 +02:00
keys_fc16 Add support for Fedora 16 template 2011-12-11 23:48:02 +01:00
keys_fc17 base pkgs for fc17 template 2012-06-06 03:15:54 +02:00
keys_fc18 Fedora 18 initial support 2012-10-27 21:31:20 +02:00
mnt
qubeized_images
rpm
rpmbuild Use local rpmbuild/tmp as _tmppath 2011-11-09 16:43:21 +01:00
rpms_to_install
.gitignore .gitignore: added 'appmenus' 2012-06-25 23:41:43 +02:00
add_3rd_party_software.sh install adobe yum repo instead of flash plugin directly (#575) 2012-05-22 16:54:15 +02:00
appvm.buildlog
build_template_rpm make template: remove signing in template building script 2012-01-27 10:08:42 +01:00
cleanup_image cleanup_image: hide messages from rpmdb rebuild 2012-06-26 03:38:10 +02:00
convert_app2template.sh appmenus: choose whitelists basing on distribution version 2012-06-22 21:12:57 +02:00
create_apps_templates.sh appmenus: choose whitelists basing on distribution version 2012-06-22 21:12:57 +02:00
create_symlinks_in_rpms_to_install_dir.sh qubeize_image: fix symlink to xen packages 2012-10-27 17:52:48 +02:00
fedorize_image copy some /dev/ files required by fedora rpms 2012-10-19 03:44:11 +02:00
Makefile Automatic template versioning (#667) 2012-11-05 15:45:06 +01:00
mount_root.sh
qubeize_image qubeize_image: remove duplicated 3rd party soft installation 2012-07-18 11:49:05 +02:00
README
templates.spec remove dispvm files - now part of qubes-core-vm package 2012-07-12 14:32:12 +02:00
version version 1.4.18 2012-08-29 11:17:24 +02:00
yum.conf fedorize_image: also update *all* packages 2012-07-20 16:00:56 +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.