Browse Source

vbuilder.sh.in: revieved --with-compat32

git-svn-id: http://trac.vinelinux.org/repos/projects/vbootstrap/trunk@349 ec354946-7b23-47d6-9f5a-488ba84defc7
munepi 14 years ago
parent
commit
416b7e88b4
1 changed files with 7 additions and 5 deletions
  1. 7 5
      vbuilder.sh.in

+ 7 - 5
vbuilder.sh.in

@@ -3,14 +3,15 @@
 
 Usage_C(){
     cat<<EOF
-Usage:	$(basename $0) {--version [version]} {--arch [arch]} {--build-rpm [src.rpm]|--install-rpm [arch.rpm]|--remove-rpm [package]|--build|--clean}
+Usage:	$(basename $0) {--version [version]} {--arch [arch]} {--with-compat32} {--build|--clean|--build-rpm [src.rpm]|--install-rpm [arch.rpm|package]|--remove-rpm [package]}
 	--version:		set [version] (default: ${DEFAULT_VERSION})
 	--arch:			set [arch] (default: $(uname -i))
+	--with-compat32:	build with compat32 on boostrap
+	--clean:		clean boostrap of [version]
+	--build:		build boostrap of [version]
 	--build-rpm:		build [src.rpm] on boostrap
-	--install-rpm:		install [arch.rpm] on boostrap
+	--install-rpm:		install [arch.rpm|package] on boostrap
 	--remove-rpm:		remove [package] on boostrap
-	--build:		build boostrap of [version]
-	--clean:		clean boostrap of [version]
 
 For example, 
 * make a clean/plain build environment on the current archtecture:
@@ -21,6 +22,8 @@ $(basename $0) --build-rpm [src.rpm]
 $(basename $0) --version 4.2 --clean --build
 * make a i386 chroot on x86_64:
 $(basename $0) --arch i386 --clean --build
+* build compat32:
+$(basename $0) --arch i386 --with-compat32 --build-rpm [src.rpm]
 $(/usr/sbin/vbootstrap | sed -e s/^Usage:.*// -e s/^E:.*//)
 EOF
 }
@@ -271,7 +274,6 @@ while [ $# -gt 0 ]; do
 	    [ $? -eq 1 ] && exit 1
 	    VARCH=$1
 	    ;;
-	##!! This option is obsolete for 5.0 or above higher version on i386. 
 	--with-compat32)
 	    RPM_OPTS="--with compat32"
 	    ;;