build tool changes for new xCAT-OpenStack rpm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16779 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		@@ -40,7 +40,7 @@ UPLOADUSER=bp-sawyers
 | 
			
		||||
FRS=/home/frs/project/x/xc/xcat
 | 
			
		||||
 | 
			
		||||
# These are the rpms that should be built for each kind of xcat build
 | 
			
		||||
ALLBUILD="perl-xCAT xCAT-client xCAT-server xCAT-IBMhpc xCAT-rmc xCAT-UI xCAT-test xCAT-buildkit xCAT xCATsn xCAT-genesis-scripts"
 | 
			
		||||
ALLBUILD="perl-xCAT xCAT-client xCAT-server xCAT-IBMhpc xCAT-rmc xCAT-UI xCAT-test xCAT-buildkit xCAT xCATsn xCAT-genesis-scripts xCAT-OpenStack"
 | 
			
		||||
ZVMBUILD="perl-xCAT xCAT-server xCAT-UI"
 | 
			
		||||
ZVMLINK="xCAT-client xCAT xCATsn"
 | 
			
		||||
PCMBUILD="xCAT"
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										4
									
								
								makerpm
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								makerpm
									
									
									
									
									
								
							@@ -10,10 +10,10 @@
 | 
			
		||||
 | 
			
		||||
# set -x
 | 
			
		||||
 | 
			
		||||
# Make one of the following rpms: perl-xCAT, xCAT-server, xCAT-client, xCAT-IBMhpc, xCAT-rmc, xCAT-UI, xCAT-test
 | 
			
		||||
# Make one of the following rpms: perl-xCAT, xCAT-server, xCAT-client, xCAT-IBMhpc, xCAT-rmc, xCAT-UI, xCAT-test, xCAT-OpenStack
 | 
			
		||||
function makenoarch {
 | 
			
		||||
	RPMNAME=$1
 | 
			
		||||
	if [ "$OSNAME" = "AIX" ]; then
 | 
			
		||||
	if [ "$OSNAME" = "AIX" -a "$RPMNAME" != "xCAT-OpenStack" ]; then
 | 
			
		||||
		echo '.svn' > /tmp/xcat-excludes
 | 
			
		||||
		tar -X /tmp/xcat-excludes -cf $RPMROOT/SOURCES/$RPMNAME-$VER.tar $RPMNAME
 | 
			
		||||
		gzip -f $RPMROOT/SOURCES/$RPMNAME-$VER.tar
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user