Go to file
Marek Marczykowski-Górecki 33ac846999 Fedora 19 initial build files
2013-12-08 21:32:49 +01:00
appmenus_fc17
appmenus_fc18 Fedora 18 initial support 2012-10-27 21:31:20 +02:00
appmenus_generic
clean_images Merge branch 'archlinux' 2013-04-28 06:08:18 +02:00
mnt
prepared_images Support different versions of the same distribution 2013-02-16 21:21:05 +01:00
qubeized_images
rpm
rpmbuild Remove "empty" directory, already ignored by gitignore 2013-12-08 20:32:36 +01:00
scripts_archlinux Minor fixes to archlinux build 2013-12-08 20:33:28 +01:00
scripts_fedora Fedora 19 initial build files 2013-12-08 21:32:49 +01:00
yum_repo_qubes template_builder: made make scripts OS independent. 2013-02-06 02:53:30 +01:00
.gitignore Merge branch 'archlinux' 2013-04-28 06:08:18 +02:00
appvm.buildlog
build_template_rpm makefile: Fix building many different template rpm packages at the same time 2013-02-24 13:33:57 +01:00
builder_setup archlinux: keep downloaded files in $CACHEDIR (new variable) 2013-02-16 22:51:01 +01:00
cleanup_image cleanup-image: smart image shrink using fstrim 2013-04-28 22:49:41 +02:00
comps-qubes-template.xml Install qpdf-converter in template 2013-02-23 17:11:10 +01:00
convert_app2template.sh appmenus: preserve file header 2013-01-23 15:59:08 +01:00
create_apps_templates.sh
Makefile Fix template-repo handling - chown it and clean only current one 2013-04-28 22:36:51 +02:00
mount_root.sh
prepare_image minor messages fixes 2013-02-16 22:51:01 +01:00
qubeize_image Minor fixes to archlinux build 2013-12-08 20:33:28 +01:00
README
templates.spec rpm: set sgid for template directory 2013-05-20 01:36:45 +02:00
version version 2.1.1 2013-09-17 04:49:17 +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.