2010-04-05 22:25:37 +00:00
|
|
|
The Template Builder
|
|
|
|
======================
|
|
|
|
|
2010-06-18 23:41:29 +00:00
|
|
|
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).
|
2010-04-05 22:25:37 +00:00
|
|
|
|
|
|
|
3) Now, you can "qubeize" the image. This must be done as root. E.g.:
|
|
|
|
|
2010-06-18 23:41:29 +00:00
|
|
|
# ./qubeize_image <img> <template-name>
|
2010-04-05 22:25:37 +00:00
|
|
|
|
2011-06-29 23:22:58 +00:00
|
|
|
4) Finally, build the Template RPM (do it as normal user, not root), e.g.:
|
2010-04-05 22:25:37 +00:00
|
|
|
|
|
|
|
$./build_rpm <name>
|
|
|
|
|
|
|
|
The resulting rpm is stored in rpm/noarch directory.
|
|
|
|
|