Go to file
2015-02-14 12:31:01 -05:00
appmenus_fc17
appmenus_fc18
appmenus_fc20
appmenus_fc20_minimal
appmenus_generic
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
appmenus_wheezy_whonix-gateway whonix: Added App Menus 2014-11-13 19:08:12 -05:00
appmenus_wheezy_whonix-workstation whonix: Added App Menus 2014-11-13 19:08:12 -05:00
prepared_images
qubeized_images
rpm
rpmbuild
scripts_archlinux archlinux: fix /etc/os-release and add remote qubes repository (on olivier.medoc.free.fr) 2015-02-01 23:27:57 +01:00
scripts_debian Do not duplicate clean-volatile.img.tar for each distribution 2015-01-30 19:16:22 +01:00
scripts_fedora fedora: keep minimal template minimal 2015-02-02 06:02:26 +01: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
.gitignore Added yum_repo_qubes to gitignore 2015-02-14 12:31:01 -05:00
appvm.buildlog
build_template_rpm
builder_fix_filenames Simplify template name processing 2015-01-30 04:10:43 +01:00
builder_setup Simplify template name processing 2015-01-30 04:10:43 +01:00
clean-volatile.img.tar Do not duplicate clean-volatile.img.tar for each distribution 2015-01-30 19:16:22 +01:00
cleanup_image
comps-qubes-template.xml
convert_app2template.sh
create_apps_templates.sh Preliminary support for building in DispVM 2015-01-30 15:35:00 +01:00
create_template_list.sh AppVM was hard coded by mistake. Changed to pick up users AppVM name 2014-11-17 16:39:02 -05:00
functions-name.sh Simplify template name processing 2015-01-30 04:10:43 +01:00
functions.sh Simplify template name processing 2015-01-30 04:10:43 +01:00
Makefile Preliminary support for building in DispVM 2015-01-30 15:35:00 +01:00
mount_root.sh
prepare_image Prepare mountpoint before calling any dist-specific script 2014-11-06 02:11:07 +01:00
qubeize_image Remove UPDATE 2014-10-19 01:18:58 -04:00
README
templates.spec Do not duplicate clean-volatile.img.tar for each distribution 2015-01-30 19:16:22 +01:00
umount_kill.sh Sync to disk before un-mounting 2014-11-06 23:58:34 -05:00
version
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.