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
Andy 587c7bae95
TAILORED: build 4k sector sized templates only
5 years ago
appmenus_generic
prepared_images
qubeized_images
rpm
rpmbuild
tests
.gitignore
Makefile Rename TIMESTAMP variable to TEMPLATE_TIMESTAMP 6 years ago
Makefile.builder Pretend the template rpm is build the standard way 6 years ago
README
appvm.buildlog
build_template_rpm Remove raw root.img after packaging it into rpm - if DISCARD_PREPARED_IMAGE is set 6 years ago
builder_fix_filenames
builder_setup
cleanup_image
create_template_list.sh
functions-name.sh fix functions-name.sh 6 years ago
functions.sh
mount_root.sh TAILORED: build 4k sector sized templates only 5 years ago
prepare_image TAILORED: build 4k sector sized templates only 5 years ago
qubeize_image TAILORED: build 4k sector sized templates only 5 years ago
templates.spec rpm: make old root.img unlink explicit 6 years ago
umount_kill.sh
version version 4.0.1 6 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.