mirror-tutorial mirror-tutorial-en.xml,1.16,1.17

Paul W. Frields (pfrields) fedora-docs-commits at redhat.com
Fri Nov 11 16:58:55 UTC 2005


Author: pfrields

Update of /cvs/docs/mirror-tutorial
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22945

Modified Files:
	mirror-tutorial-en.xml 
Log Message:
Additional createrepo info (#172819)


Index: mirror-tutorial-en.xml
===================================================================
RCS file: /cvs/docs/mirror-tutorial/mirror-tutorial-en.xml,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- mirror-tutorial-en.xml	11 Nov 2005 15:33:22 -0000	1.16
+++ mirror-tutorial-en.xml	11 Nov 2005 16:58:48 -0000	1.17
@@ -199,7 +199,7 @@
 	<revdescription>
 	  <para>
 	    Added some additional information about repository
-	    configuration (#172815).
+	    configuration (#172815, #172819).
 	  </para>
 	</revdescription>
       </revision>
@@ -1314,6 +1314,22 @@
 </screen>
 
 	<para>
+	  To create repository data for package groups in addition to
+	  the package files, use the <command>createrepo -g</command>
+	  command.  The <option>-g</option> option requires a parameter
+	  which points to the group file, <emphasis>relative</emphasis>
+	  to the given location of the package data.  The following
+	  command creates the package group data corresponding to the
+	  repository directly above.  Note the relative location of the
+	  group file
+	  <filename>/var/www/mirror/fedora/linux/core/&FCVER;i386/os/Fedora/base/comps.xml</filename>.
+	</para>
+
+<screen>
+<userinput>createrepo -g Fedora/base/comps.xml /var/www/mirror/fedora/linux/core/&FCVER;/i386/os</userinput>
+</screen>
+
+	<para>
 	  You may have certain clients who update their version of
 	  <command>yum</command> in a non-prescribed way. To minimize
 	  problems for your clients, create both kinds of repository




More information about the docs-commits mailing list