1
0
Fork 0
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 
 
 
Datei suchen
Andy 587c7bae95
TAILORED: build 4k sector sized templates only
vor 4 Jahren
appmenus_generic fedora: Remove "Software Update" appmenu for template (#871) vor 10 Jahren
prepared_images Support different versions of the same distribution vor 11 Jahren
qubeized_images gitignore vor 9 Jahren
rpm Initial public commit. vor 14 Jahren
rpmbuild Remove "empty" directory, already ignored by gitignore vor 10 Jahren
tests Reworked the way template flavor files are found to allow flavors vor 9 Jahren
.gitignore gitignore vor 9 Jahren
Makefile Rename TIMESTAMP variable to TEMPLATE_TIMESTAMP vor 6 Jahren
Makefile.builder Pretend the template rpm is build the standard way vor 6 Jahren
README Use a script for filling the rpms_to_install symlinks automatically vor 13 Jahren
appvm.buildlog appvm version 1.1.3 vor 14 Jahren
build_template_rpm Remove raw root.img after packaging it into rpm - if DISCARD_PREPARED_IMAGE is set vor 6 Jahren
builder_fix_filenames Simplify template name processing vor 9 Jahren
builder_setup Add support for plugins, move all distribution-specific code there vor 9 Jahren
cleanup_image Use full path for tools normally in /sbin vor 6 Jahren
create_template_list.sh create_template_list.sh enhancements vor 9 Jahren
functions-name.sh fix functions-name.sh vor 6 Jahren
functions.sh Rename function chroot to chroot_cmd vor 8 Jahren
mount_root.sh TAILORED: build 4k sector sized templates only vor 4 Jahren
prepare_image TAILORED: build 4k sector sized templates only vor 4 Jahren
qubeize_image TAILORED: build 4k sector sized templates only vor 4 Jahren
templates.spec rpm: make old root.img unlink explicit vor 5 Jahren
umount_kill.sh Do not use full path to mountpoint program vor 7 Jahren
version version 4.0.1 vor 6 Jahren

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.