[Fai-commit] r5896 - in trunk: bin debian man

Thomas Lange lange at alioth.debian.org
Wed Jul 28 21:37:55 UTC 2010


Author: lange
Date: 2010-07-28 21:37:55 +0000 (Wed, 28 Jul 2010)
New Revision: 5896

Modified:
   trunk/bin/fai-mirror
   trunk/debian/changelog
   trunk/man/fai-mirror.1
Log:
fai-mirror, fai-mirror.8: add option -m

Modified: trunk/bin/fai-mirror
===================================================================
--- trunk/bin/fai-mirror	2010-07-28 21:26:58 UTC (rev 5895)
+++ trunk/bin/fai-mirror	2010-07-28 21:37:55 UTC (rev 5896)
@@ -6,7 +6,7 @@
 # fai-mirror -- create and manage a partial mirror for FAI
 #
 # This script is part of FAI (Fully Automatic Installation)
-# (c) 2004-2009, Thomas Lange, lange at informatik.uni-koeln.de
+# (c) 2004-2010, Thomas Lange, lange at informatik.uni-koeln.de
 #
 #*********************************************************************
 # This program is free software; you can redistribute it and/or modify
@@ -194,7 +194,7 @@
 verbose=0
 add=1
 qflag=-qq
-while getopts "a:Bvhx:pc:C:" opt ; do
+while getopts "a:Bvhx:pc:C:m:" opt ; do
     case "$opt" in
 	a) arch=$OPTARG ;;
 	B) add=0 ;;
@@ -202,6 +202,7 @@
 	h) usage ;;
 	x) exclasses="$OPTARG";;
 	c) cclasses="$OPTARG";;
+	m) MAXPACKAGES="$OPTARG";;
 	p) preserve=1;;
 	v) verbose=1; vflag=-v; qflag='';;
 	?) die 1 "Unknown option";;

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2010-07-28 21:26:58 UTC (rev 5895)
+++ trunk/debian/changelog	2010-07-28 21:37:55 UTC (rev 5896)
@@ -96,6 +96,7 @@
   * fai-cd: add checks if package download succeeded
   * fai-cd: fix, use grub.cfg for grub2
   * fai-vol_id: cleanup code
+  * fai-mirror, fai-mirror.8: add option -m
   
  -- Thomas Lange <lange at debian.org>  Wed, 28 Jul 2010 16:28:51 -0400
 

Modified: trunk/man/fai-mirror.1
===================================================================
--- trunk/man/fai-mirror.1	2010-07-28 21:26:58 UTC (rev 5895)
+++ trunk/man/fai-mirror.1	2010-07-28 21:37:55 UTC (rev 5896)
@@ -1,7 +1,7 @@
 .\"                                      Hey, EMACS: -*- nroff -*-
 .if \n(zZ=1 .ig zZ
 .if \n(zY=1 .ig zY
-.TH fai-mirror 1 "22 October 2009" "FAI 3.3"
+.TH fai-mirror 1 "28 July 2010" "FAI 4.0"
 .\" Please adjust this date whenever revising the manpage.
 .\"
 .\" Some roff macros, for reference:
@@ -71,6 +71,9 @@
 .BI \-h
 Show simple help and version.
 .TP
+.BI "\-m " MAX
+Set the number of packages to NUM. This overwrites the variable MAXPACKAGES.
+.TP
 .BI "\-x " CLASS[,CLASS]
 Exclude these classes. Do not add the packages of these classes to
 the mirror.




More information about the Fai-commit mailing list