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
преди 4 години
appmenus_generic fedora: Remove "Software Update" appmenu for template (#871) преди 10 години
prepared_images Support different versions of the same distribution преди 11 години
qubeized_images gitignore преди 9 години
rpm Initial public commit. преди 14 години
rpmbuild Remove "empty" directory, already ignored by gitignore преди 11 години
tests Reworked the way template flavor files are found to allow flavors преди 9 години
.gitignore gitignore преди 9 години
Makefile Rename TIMESTAMP variable to TEMPLATE_TIMESTAMP преди 6 години
Makefile.builder Pretend the template rpm is build the standard way преди 6 години
README Use a script for filling the rpms_to_install symlinks automatically преди 13 години
appvm.buildlog appvm version 1.1.3 преди 14 години
build_template_rpm Remove raw root.img after packaging it into rpm - if DISCARD_PREPARED_IMAGE is set преди 6 години
builder_fix_filenames Simplify template name processing преди 9 години
builder_setup Add support for plugins, move all distribution-specific code there преди 9 години
cleanup_image Use full path for tools normally in /sbin преди 6 години
create_template_list.sh create_template_list.sh enhancements преди 9 години
functions-name.sh fix functions-name.sh преди 6 години
functions.sh Rename function chroot to chroot_cmd преди 8 години
mount_root.sh TAILORED: build 4k sector sized templates only преди 4 години
prepare_image TAILORED: build 4k sector sized templates only преди 4 години
qubeize_image TAILORED: build 4k sector sized templates only преди 4 години
templates.spec rpm: make old root.img unlink explicit преди 5 години
umount_kill.sh Do not use full path to mountpoint program преди 7 години
version version 4.0.1 преди 6 години

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.