You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Go to file
Marek Marczykowski-Górecki 039e7efc3b
fedora: Remove "Software Update" appmenu for template (#871)
10 years ago
appmenus_fc17 appmenus: whitelists for fc17 12 years ago
appmenus_fc18 Fedora 18 initial support 12 years ago
appmenus_fc20 fedora: Remove "Software Update" appmenu for template (#871) 10 years ago
appmenus_fc20_minimal fedora: initial configuration for "minimal" template (#828) 10 years ago
appmenus_generic fedora: Remove "Software Update" appmenu for template (#871) 10 years ago
mnt Initial public commit. 14 years ago
prepared_images Support different versions of the same distribution 11 years ago
qubeized_images Initial public commit. 14 years ago
rpm Initial public commit. 14 years ago
rpmbuild Remove "empty" directory, already ignored by gitignore 11 years ago
scripts_archlinux archlinux: move xinirc fix to qubes-gui-agent 10 years ago
scripts_fedora fedora: disable adobe repo in default template (#828) 10 years ago
yum_repo_qubes template_builder: made make scripts OS independent. 11 years ago
.gitignore Merge branch 'archlinux' 11 years ago
Makefile template flavor support (#828) 10 years ago
README Use a script for filling the rpms_to_install symlinks automatically 13 years ago
appvm.buildlog appvm version 1.1.3 14 years ago
build_template_rpm makefile: Fix building many different template rpm packages at the same time 11 years ago
builder_setup archlinux: keep downloaded files in $CACHEDIR (new variable) 11 years ago
cleanup_image cleanup-image: smart image shrink using fstrim 11 years ago
comps-qubes-template.xml fedora: reduce minimal template 10 years ago appmenus: preserve file header 12 years ago appmenus: choose whitelists basing on distribution version 12 years ago Initial public commit. 14 years ago
prepare_image fedora: Improve error handling 10 years ago
qubeize_image fedora: improve error handling 10 years ago
templates.spec rpm: Prevent upgrades of template pkg 10 years ago
version version 2.1.5 10 years ago
yum.conf qubeize_image: use yum repo for Qubes-specific rpms instead of symlinks 12 years ago


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 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.