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 518b0a39da
Fix creating volatile.img
9 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_fc21 fedora: fc21: Added Fedora 21 template and related configurations 9 years ago
appmenus_fc21_minimal fedora: fc21: Added Fedora 21 template and related configurations 9 years ago
appmenus_generic fedora: Remove "Software Update" appmenu for template (#871) 10 years ago
appmenus_jessie debian: Completely refactored Debian and Whonix 9 years ago
appmenus_jessie_gnome Debian: Configured all wheezy/jessie+gnome whitelists 10 years ago
appmenus_trusty qubuntu: Added trusty, utopic and vivid templates 9 years ago
appmenus_trusty_desktop qubuntu: Added trusty, utopic and vivid templates 9 years ago
appmenus_utopic qubuntu: Added trusty, utopic and vivid templates 9 years ago
appmenus_utopic_desktop qubuntu: Added trusty, utopic and vivid templates 9 years ago
appmenus_vivid qubuntu: Added trusty, utopic and vivid templates 9 years ago
appmenus_vivid_desktop qubuntu: Added trusty, utopic and vivid templates 9 years ago
appmenus_wheezy debian: Completely refactored Debian and Whonix 9 years ago
appmenus_wheezy_gnome Debian: Configured all wheezy/jessie+gnome whitelists 10 years ago
appmenus_wheezy_whonix-gateway whonix: Updated appmenus and added a gnome appmenu definition 9 years ago
appmenus_wheezy_whonix-workstation whonix: Updated appmenus and added a gnome appmenu definition 9 years ago
appmenus_wheezy_whonix-workstation_gnome whonix: Updated appmenus and added a gnome appmenu definition 9 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: fix /etc/os-release and add remote qubes repository (on olivier.medoc.free.fr) 9 years ago
scripts_debian Actually remove deb files from template 9 years ago
scripts_fedora fc21: Changed 3rd party software not to import package keys 9 years ago
scripts_qubuntu debian: qubuntu: Overwrite existing configuration files by default 9 years ago
tests New tests to work with updated functions.sh 9 years ago
yum_repo_qubes debian: use real apt repo for qubes packages installation 10 years ago
.gitignore fedora: fc21: Added Fedora 21 template and related configurations 9 years ago
Makefile Store root image named 'root.img' inside of tar archive 9 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 Support different versions of the same distribution 11 years ago
builder_fix_filenames Simplify template name processing 9 years ago
builder_setup Added qubuntu evn vars indentifiers to builder_setup 9 years ago
clean-volatile.img.tar Do not duplicate clean-volatile.img.tar for each distribution 9 years ago
cleanup_image Debian Wheezy template addition and refactoring to allow Whonix TEMPLATE_FLAVOR 10 years ago
comps-qubes-template.xml fedora: reduce minimal template 10 years ago
create_template_list.sh AppVM was hard coded by mistake. Changed to pick up users AppVM name 10 years ago
functions-name.sh If template_flavor only contains a '+'; send back $DIST 9 years ago
functions.sh Provide chroot() wrapper also in quiet mode 9 years ago
mount_root.sh Initial public commit. 14 years ago
prepare_image Reformatted script 9 years ago
qubeize_image Store root image named 'root.img' inside of tar archive 9 years ago
templates.spec Fix creating volatile.img 9 years ago
umount_kill.sh Improve mount detection and better able to umount problem mounts 9 years ago
version version 2.1.8 10 years ago
yum.conf qubeize_image: use yum repo for Qubes-specific rpms instead of symlinks 12 years ago

README

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.