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 b427341d28
Rename function chroot to chroot_cmd
8 years ago
appmenus_generic fedora: Remove "Software Update" appmenu for template (#871) 10 years ago
prepared_images Support different versions of the same distribution 11 years ago
qubeized_images gitignore 9 years ago
rpm Initial public commit. 14 years ago
rpmbuild Remove "empty" directory, already ignored by gitignore 11 years ago
tests Reworked the way template flavor files are found to allow flavors 9 years ago
.gitignore gitignore 9 years ago
Makefile Fix update-repo-installer target - correct timestamp file 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 minor indent 9 years ago
builder_fix_filenames Simplify template name processing 9 years ago
builder_setup Add support for plugins, move all distribution-specific code there 9 years ago
cleanup_image Debian Wheezy template addition and refactoring to allow Whonix TEMPLATE_FLAVOR 10 years ago
create_template_list.sh create_template_list.sh enhancements 9 years ago
functions-name.sh Fix renaming templates that have a flavor and options such as gnome 9 years ago
functions.sh Rename function chroot to chroot_cmd 8 years ago
mount_root.sh Fix a minor losetup usage bug 8 years ago
prepare_image enable errtrace right after xtrace 9 years ago
qubeize_image enable errtrace right after xtrace 9 years ago
templates.spec rpm: remove icons on package uninstallation 9 years ago
umount_kill.sh verbosity fixes 9 years ago
version version 3.0.5 8 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.