Go to file
Marek Marczykowski afc68b641c archlinux: keep downloaded files in $CACHEDIR (new variable)
Do not download anything directly in template-builder root. Also do not
download and extract archlinux iso if existing file is current.
2013-02-16 22:51:01 +01:00
appmenus_fc17
appmenus_fc18
appmenus_generic
mnt
prepared_images Support different versions of the same distribution 2013-02-16 21:21:05 +01:00
qubeized_images
rpm
rpmbuild
scripts_archlinux archlinux: keep downloaded files in $CACHEDIR (new variable) 2013-02-16 22:51:01 +01:00
scripts_fedora Move Fedora keys and base_rpms to scripts_fedora dir 2013-02-16 22:51:01 +01:00
yum_repo_qubes template_builder: made make scripts OS independent. 2013-02-06 02:53:30 +01:00
.gitignore archlinux: keep downloaded files in $CACHEDIR (new variable) 2013-02-16 22:51:01 +01:00
appvm.buildlog
build_template_rpm Support different versions of the same distribution 2013-02-16 21:21:05 +01:00
builder_setup archlinux: keep downloaded files in $CACHEDIR (new variable) 2013-02-16 22:51:01 +01:00
cleanup_image Support different versions of the same distribution 2013-02-16 21:21:05 +01:00
comps-qubes-template.xml qubeize_image: use yum repo for Qubes-specific rpms instead of symlinks 2012-11-14 16:12:18 +01:00
convert_app2template.sh appmenus: preserve file header 2013-01-23 15:59:08 +01:00
create_apps_templates.sh
Makefile Update comment in makefile 2013-02-16 22:51:01 +01:00
mount_root.sh
prepare_image Support different versions of the same distribution 2013-02-16 21:21:05 +01:00
qubeize_image Support different versions of the same distribution 2013-02-16 21:21:05 +01:00
README
templates.spec Support different versions of the same distribution 2013-02-16 21:21:05 +01:00
version version 2.0.4 2012-12-10 16:51:17 +01: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.