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
Joanna Rutkowska 1a539dfd14
README correction
13 years ago
appmenus Build universal (appvm,netvm,proxyvm), cow-based template 13 years ago
base_rpms the fedorize_image script 14 years ago
clean_images Leave tar-ed volatile.img (#118) 13 years ago
fedorized_images fedorized_images/ is a useful tmp directory, keep it in git 13 years ago
keys the fedorize_image script 14 years ago
mnt Initial public commit. 14 years ago
netvm Use xterm instead of konsole in netvm appmenus 14 years ago
qubeized_images Initial public commit. 14 years ago
rpm Initial public commit. 14 years ago
rpms_3rd_party Keep 3rd party RPMs in the repo 14 years ago
rpms_to_install_x64 core/gui rpms update 13 years ago
template Make templatevm's appmenus to start programs as root 14 years ago
vm_conf_files Use standaloneVM's own kernel - not template's one 13 years ago
vm_initramfs_patches Create template with plain root.img without partitions (#118) 13 years ago
vm_kernels_x64 Build universal (appvm,netvm,proxyvm), cow-based template 13 years ago
.gitignore Add backup files to gitignore 13 years ago
README README correction 13 years ago
TODO Initial public commit. 14 years ago
add_3rd_party_software.sh Keep 3rd party RPMs in the repo 14 years ago
appvm.buildlog appvm version 1.1.3 14 years ago
build_template_rpm Initial public commit. 14 years ago
cleanup_image Create template with plain root.img without partitions (#118) 13 years ago
create_apps_for_templatevm.sh Initial public commit. 14 years ago
create_apps_templates.sh Initial public commit. 14 years ago
dispvm-dotfiles.tbz dispvm-dotfiles.tbz updated 14 years ago
fedorize_image Create template with plain root.img without partitions (#118) 13 years ago
mount_root.sh Initial public commit. 14 years ago
qubeize_image Create template with plain root.img without partitions (#118) 13 years ago
rpms_to_install Build universal (appvm,netvm,proxyvm), cow-based template 13 years ago
templates.spec Add standalone-template.conf to rpm 13 years ago
version_appvm version 1.2.1 13 years ago
vm_kernels Build universal (appvm,netvm,proxyvm), cow-based template 13 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_XXX/ so that they point to the current version
of Qubes-specific rpms to install you want to use (e.g. qubes-gui-vm, etc).

3) Now, you can "qubeize" the image. This must be done as root. E.g.:

# ./qubeize_image <img> <template-name>

4) Make sure the symlinks in vm_kernels_XXX/ point to correct kernel and initramfs
files you want to use for the template:

4a) In order to prepare a patched initramfs file, use the
patch_appvm_initramfs.sh program that is installed as part of
qubes-core-dom0.rpm:

# /usr/lib/qubes/patch_appvm_initramfs.sh \
	<original_initrafms> \
	 <filename_for_patched_initramfs> \
	 /abs_path/vm-initramfs-patches/qubes_cow_setup.sh 


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