1
0
Derivar 0
Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 
Ir para o ficheiro
Andy 587c7bae95
TAILORED: build 4k sector sized templates only
há 4 anos
appmenus_generic fedora: Remove "Software Update" appmenu for template (#871) há 10 anos
prepared_images Support different versions of the same distribution há 11 anos
qubeized_images gitignore há 9 anos
rpm Initial public commit. há 14 anos
rpmbuild Remove "empty" directory, already ignored by gitignore há 11 anos
tests Reworked the way template flavor files are found to allow flavors há 9 anos
.gitignore gitignore há 9 anos
Makefile Rename TIMESTAMP variable to TEMPLATE_TIMESTAMP há 6 anos
Makefile.builder Pretend the template rpm is build the standard way há 6 anos
README Use a script for filling the rpms_to_install symlinks automatically há 13 anos
appvm.buildlog appvm version 1.1.3 há 14 anos
build_template_rpm Remove raw root.img after packaging it into rpm - if DISCARD_PREPARED_IMAGE is set há 6 anos
builder_fix_filenames Simplify template name processing há 9 anos
builder_setup Add support for plugins, move all distribution-specific code there há 9 anos
cleanup_image Use full path for tools normally in /sbin há 6 anos
create_template_list.sh create_template_list.sh enhancements há 9 anos
functions-name.sh fix functions-name.sh há 6 anos
functions.sh Rename function chroot to chroot_cmd há 8 anos
mount_root.sh TAILORED: build 4k sector sized templates only há 4 anos
prepare_image TAILORED: build 4k sector sized templates only há 4 anos
qubeize_image TAILORED: build 4k sector sized templates only há 4 anos
templates.spec rpm: make old root.img unlink explicit há 5 anos
umount_kill.sh Do not use full path to mountpoint program há 7 anos
version version 4.0.1 há 6 anos

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.