Go to file
Marek Marczykowski 99e9e0351d makefile: Fix building many different template rpm packages at the same time
Store build_timestamp for each built template to not mix them up in
update-repo-installer.
2013-02-24 13:33:57 +01:00
3rd_party_software install adobe yum repo instead of flash plugin directly (#575) 2012-05-22 16:54:15 +02:00
appmenus_fc17 appmenus: whitelists for fc17 2012-06-22 21:16:41 +02:00
appmenus_fc18 Fedora 18 initial support 2012-10-27 21:31:20 +02:00
appmenus_generic appmenus: choose whitelists basing on distribution version 2012-06-22 21:12:57 +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
base_rpms_fc16 Add support for Fedora 16 template 2011-12-11 23:48:02 +01:00
base_rpms_fc17 base pkgs for fc17 template 2012-06-06 03:15:54 +02:00
base_rpms_fc18 use final fedora-release-18 package 2013-02-12 02:04:49 +01:00
clean_images fc18: install basic editors (vim, emacs) 2013-02-13 17:15:17 +01: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
keys_fc16 Add support for Fedora 16 template 2011-12-11 23:48:02 +01:00
keys_fc17 base pkgs for fc17 template 2012-06-06 03:15:54 +02:00
keys_fc18 Fedora 18 initial support 2012-10-27 21:31:20 +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
rpmbuild Use local rpmbuild/tmp as _tmppath 2011-11-09 16:43:21 +01:00
yum_repo_qubes qubeize_image: use yum repo for Qubes-specific rpms instead of symlinks 2012-11-14 16:12:18 +01:00
.gitignore Fix automatic template versioning (#667) 2012-11-06 10:43:45 +01:00
add_3rd_party_software.sh reduce verbosity based on $VERBOSE variable 2012-11-18 04:01:49 +01:00
appvm.buildlog appvm version 1.1.3 2010-06-30 13:03:23 +02:00
build_template_rpm makefile: Fix building many different template rpm packages at the same time 2013-02-24 13:33:57 +01:00
cleanup_image reduce verbosity based on $VERBOSE variable 2012-11-18 04:01:49 +01: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 appmenus: choose whitelists basing on distribution version 2012-06-22 21:12:57 +02:00
fedorize_image reduce verbosity based on $VERBOSE variable 2012-11-18 04:01:49 +01:00
Makefile makefile: Fix building many different template rpm packages at the same time 2013-02-24 13:33:57 +01:00
mount_root.sh Initial public commit. 2010-04-06 00:25:37 +02:00
qubeize_image setup default console encoding to UTF-8 2012-11-20 19:52:21 +01:00
README Use a script for filling the rpms_to_install symlinks automatically 2011-07-02 14:38:46 +02:00
templates.spec makefile: Fix building many different template rpm packages at the same time 2013-02-24 13:33:57 +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.