[Erp5-report] r12730 - /umigumi/trunk/umibuilder.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Feb 15 16:29:04 CET 2007


Author: kevin
Date: Thu Feb 15 16:29:02 2007
New Revision: 12730

URL: http://svn.erp5.org?rev=12730&view=rev
Log:
Fix copyright header.
Update minor version.
Make help screen easier to read.

Modified:
    umigumi/trunk/umibuilder.py

Modified: umigumi/trunk/umibuilder.py
URL: http://svn.erp5.org/umigumi/trunk/umibuilder.py?rev=12730&r1=12729&r2=12730&view=diff
==============================================================================
--- umigumi/trunk/umibuilder.py (original)
+++ umigumi/trunk/umibuilder.py Thu Feb 15 16:29:02 2007
@@ -2,9 +2,9 @@
 
 ##############################################################################
 #
-# Yoshinori OKUJI <yo at nexedi.com>
-#
-# Copyright (C) 2003,2004,2005 Nexedi SARL
+# Copyright (C) 2003-2007 Nexedi SA
+#                         Yoshinori OKUJI <yo at nexedi.com>
+#                         Kevin Deldycke <kevin_AT_nexedi_DOT_com>
 #
 # This program is Free Software; you can redistribute it and/or
 # modify it under the terms of the GNU General Public License
@@ -22,7 +22,7 @@
 #
 ##############################################################################
 
-UMIBUILDER_VERSION = '0.4'
+UMIBUILDER_VERSION = '0.4.1'
 
 import sys
 import getopt
@@ -896,24 +896,25 @@
       print '''Usage: umibuilder OPTION TARGET
 Build a flash-memory disk for OpenBrick.
 
-    -h, --help          display this message and exit
-    -v, --version       print version information and exit
-    -n, --dry-run       do nothing actually
-    -l, --live-cd=FILE  output the result to the ISO file FILE
-    -o, --loop=FILE     output the result to the loop file FILE
-    -d, --burner=DEV    use DEV to burn the live-cd image
-    -p, --partition=PAR use PAR to install image
-    -s, --device=STO    use STO to install image
-    -f, --noburnfree    disables cdrecord's usage of the burnfree feature
-    -w, --hardware=HW   specify the type of hardware
-    -k, --keep          do not clean up an existing installation
-    -bSTAGE             do a specific build stage
-    -ba                 all stages
-    -bp                 prepare a local installation
-    -br                 remove packages and files
-    -bc                 customize a local installation
-    -bb                 create compressed images
-    -bi                 install onto a local device
+    -h, --help               Display this message and exit
+    -v, --version            Print version information and exit
+    -n, --dry-run            Do nothing actually
+    -l, --live-cd=FILE       Output the result to the ISO file FILE
+    -o, --loop=FILE          Output the result to the loop file FILE
+    -d, --burner=DEV         Use DEV to burn the live-cd image
+    -p, --partition=PAR      Use PAR to install image
+    -s, --device=STO         Use STO to install image
+    -f, --noburnfree         Disables cdrecord's usage of the burnfree feature
+    -w, --hardware=HW        Specify the type of hardware
+    -k, --keep               Do not clean up an existing installation
+    -bSTAGE, --build=STAGE   Do a specific build stage
+        STAGE value list:
+            p   Prepare a local installation
+            r   Remove packages and files
+            c   Customize a local installation
+            b   Create compressed images
+            i   Install onto a local device
+    -ba, --build=a           Do all stages (equivalent to -bprcbi)
 
 TARGET is a type of installation, and currently these are supported:
 %s
@@ -974,7 +975,7 @@
     print "Unknown target %s." % target
     print "Try ``umibuilder --help'' for more information."
     sys.exit(2)
-  
+
   if target[:2] == "tc":
     # Check for missing dependencies
     program_list = [ 'busybox', 'mke2fs', 'sfdisk', 'udevstart', 'udev', 'mount', 'umount', 'insmod', 'ifconfig','udhcpc', 'ash', 'route', 'cp', ]




More information about the Erp5-report mailing list