Go to file
Marek Marczykowski fbf70bcdd1 version 1.4.0
2011-10-12 15:39:20 +02:00
3rd_party_software Update flashplayer to v11 Beta 1 2011-07-30 13:07:48 +02:00
appmenus Use a single OpenOffice starter appmenu instead of individual appmenus for each OO app 2011-07-24 19:20:03 +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
clean_images do not install firstboot in template 2011-09-26 21:49:24 +02:00
fedorized_images fedorized_images/ is a useful tmp directory, keep it in git 2011-03-24 13:04:43 +01:00
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
mnt Initial public commit. 2010-04-06 00:25:37 +02:00
qubeized_images Initial public commit. 2010-04-06 00:25:37 +02:00
rpm Initial public commit. 2010-04-06 00:25:37 +02:00
rpms_to_install Use a script for filling the rpms_to_install symlinks automatically 2011-07-02 14:38:46 +02:00
vm_conf_files Do not include xen config files in template package 2011-06-23 23:31:12 +02:00
.gitignore Add backup files to gitignore 2011-03-02 12:25:04 +01:00
add_3rd_party_software.sh Update flashplayer to v11 Beta 1 2011-07-30 13:07:48 +02:00
appvm.buildlog appvm version 1.1.3 2010-06-30 13:03:23 +02:00
base_rpms Easy switch of base distro for template ($DIST env var) 2011-09-25 20:47:37 +02:00
build_template_rpm Allow to not sign template rpm at building time 2011-09-27 17:44:39 +02:00
cleanup_image Create template with plain root.img without partitions (#118) 2011-03-24 13:04:43 +01:00
create_apps_templates.sh Include templates for all appmenus in package (#266) 2011-07-11 20:39:58 +02:00
create_symlinks_in_rpms_to_install_dir.sh Use %DIST% keyword instead of plain DIST 2011-09-30 13:16:22 +02:00
dispvm-dotfiles.tbz dispvm-dotfiles.tbz updated 2010-07-30 16:41:38 +02:00
fedorize_image Use YUM_OPTS var 2011-09-26 21:08:11 +02:00
keys Easy switch of base distro for template ($DIST env var) 2011-09-25 20:47:37 +02:00
mount_root.sh Initial public commit. 2010-04-06 00:25:37 +02:00
qubeize_image Exit with retcode!=0 on failure 2011-09-25 22:41:27 +02:00
README Use a script for filling the rpms_to_install symlinks automatically 2011-07-02 14:38:46 +02:00
templates.spec Create dummy volatile.img file 2011-09-26 21:08:28 +02:00
version version 1.4.0 2011-10-12 15:39:20 +02:00
version_core core 1.7.0, gui 1.4.0, xen 4.1.1-6 2011-10-12 15:39:10 +02:00
version_gui core 1.7.0, gui 1.4.0, xen 4.1.1-6 2011-10-12 15:39:10 +02:00
version_xen core 1.7.0, gui 1.4.0, xen 4.1.1-6 2011-10-12 15:39:10 +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.