Add support for building ppc on x86 for metapackage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@882 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
82d396a8e4
commit
7014946c36
@ -38,6 +38,10 @@ else
|
||||
tar --exclude .svn -czvf /usr/src/$pkg/SOURCES/templates.tar.gz templates
|
||||
cp xcat.conf /usr/src/$pkg/SOURCES
|
||||
rm -f /usr/src/$pkg/SRPMS/xCAT-2.0*rpm /usr/src/$pkg/RPMS/*/xCAT-2.0*rpm
|
||||
rpmbuild -ba xCAT.spec
|
||||
if [ ! -z "$1" ]; then
|
||||
rpmbuild -ba xCAT.spec --target $1
|
||||
else
|
||||
rpmbuild -ba xCAT.spec
|
||||
fi
|
||||
cd -
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user