commit 5663244a62631055e9074f66148470a1b04a539e
Author: Guillermo Gómez <gomix(a)fedoraproject.org>
Date: Tue Mar 26 17:26:13 2013 -0430
CLI output from external file
es-ES/Gestion_avanzada_de_repositorios_yum.xml | 58 ------------------------
1 files changed, 0 insertions(+), 58 deletions(-)
---
diff --git a/es-ES/Gestion_avanzada_de_repositorios_yum.xml
b/es-ES/Gestion_avanzada_de_repositorios_yum.xml
index 7de95eb..0500d1a 100644
--- a/es-ES/Gestion_avanzada_de_repositorios_yum.xml
+++ b/es-ES/Gestion_avanzada_de_repositorios_yum.xml
@@ -10,65 +10,7 @@
<para>En esta sección se creará un repositorio yum de ejemplo a partir de un
conjunto de paquetes rpm. Antes es necesario instalar la herramienta
<application>createrepo</application>.</para>
<screen># yum install createrepo </screen>
<screen><xi:include parse="text"
href="extras/createrepo/createrepo-h.txt"
xmlns:xi="http://www.w3.org/2001/XInclude" /></screen>
- <screen>
-# createrepo -h
-Usage: genpkgmetadata.py [options]
-Options:
- --version show program's version number and exit
- -h, --help show this help message and exit
- -q, --quiet output nothing except for serious errors
- -v, --verbose output more debugging info.
- --profile output timing/profile info.
- -x EXCLUDES, --excludes=EXCLUDES
- files to exclude
- --basedir=BASEDIR basedir for path to directories
- -u BASEURL, --baseurl=BASEURL
- baseurl to append on all files
- -g GROUPFILE, --groupfile=GROUPFILE
- path to groupfile to include in metadata
- -s SUMTYPE, --checksum=SUMTYPE
- specify the checksum type to use (default: sha256)
- -p, --pretty make sure all xml generated is formatted
- -c CACHEDIR, --cachedir=CACHEDIR
- set path to cache dir
- -C, --checkts check timestamps on files vs the metadata to seeif we
- need to update
- -d, --database create sqlite database files
- --update use the existing repodata to speed up creation of new
- --update-md-path=UPDATE_MD_PATH
- use the existing repodata for --update from this path
- --skip-stat skip the stat() call on a --update, assumes if the
- filename is the same then the file is still the
- same(only use this if you're fairly trusting or
- gullible)
- --split generate split media
- -i PKGLIST, --pkglist=PKGLIST
- use only the files listed in this file from
- thedirectory specified
- -n INCLUDEPKG, --includepkg=INCLUDEPKG
- add this pkg to the list - can be specified multiple
- times
- -o OUTPUTDIR, --outputdir=OUTPUTDIR
- <dir> = optional directory to output to
- -S, --skip-symlinks ignore symlinks of packages
- --changelog-limit=CHANGELOG_LIMIT
- only import the last N changelog entries
- --unique-md-filenames
- include the file's checksum in the filename,helps with
- proxies
- --distro=DISTRO distro tag and optional cpeid:
- --distro'cpeid,textname'
- --content=CONTENT_TAGS
- tags for the content in the repository
- --revision=REVISION user-specified revision for this repository
- --deltas create delta rpms and metadata
- --oldpackagedirs=OLDPACKAGE_PATHS
- paths to look for older pkgs to delta against
- --num-deltas=NUM_DELTAS
- the number of older versions to make deltas against
-
-</screen>
<para>El procedimiento es simple, hay que crear un directorio para alojar el
repositorio, colocar allí los rpms provistos por los desarrolladores y empaquetadores,
ejecutar <command>createrepo</command> especificando el directorio donde se
encuentran los rpms.</para>
<screen>