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

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.