Go to file
Marek Marczykowski-Górecki a557979bb1 version 2.1.6
2014-07-04 20:35:57 +02:00
appmenus_fc17
appmenus_fc18
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
mnt
prepared_images
qubeized_images
rpm
rpmbuild Remove "empty" directory, already ignored by gitignore 2013-12-08 20:32:36 +01:00
scripts_archlinux archlinux: move xinirc fix to qubes-gui-agent 2014-02-16 21:18:06 +01:00
scripts_fedora fedora: install mate-notification-daemon as default notification daemon (#873) 2014-07-04 18:37:54 +02:00
yum_repo_qubes
.gitignore Merge branch 'archlinux' 2013-04-28 06:08:18 +02:00
appvm.buildlog
build_template_rpm
builder_setup
cleanup_image cleanup-image: smart image shrink using fstrim 2013-04-28 22:49:41 +02:00
comps-qubes-template.xml fedora: reduce minimal template 2014-05-21 19:23:36 +02:00
convert_app2template.sh
create_apps_templates.sh
Makefile template flavor support (#828) 2014-05-13 04:40:09 +02:00
mount_root.sh
prepare_image fedora: Improve error handling 2014-05-13 04:30:01 +02:00
qubeize_image fedora: improve error handling 2014-05-21 18:58:58 +02:00
README
templates.spec rpm: Prevent upgrades of template pkg 2014-04-22 19:43:35 +02:00
version version 2.1.6 2014-07-04 20:35:57 +02:00
yum.conf

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.