2
0
mirror of https://github.com/xcat2/xcat-dep.git synced 2024-11-23 01:51:54 +00:00

build the dependent packages on ubuntu

Former-commit-id: 36bbddc5cf6ff2115a06f5c4508dee86404ffd1c
This commit is contained in:
xq2005 2013-06-26 09:56:50 +00:00
parent d0d8a8f439
commit c95edcd443

View File

@ -18,7 +18,7 @@
############
function pingusage()
{
printf "Usage: %s <xCAT_genesis_build directory path> <xCAT_genesis_base rpm path>] \n" $(basename $0) >&2
printf "Usage: [BUILDPKGS=\"pkgname1 pkgname2 ...\"] %s <xCAT_genesis_build directory path> <xCAT_genesis_base rpm path>] \n" $(basename $0) >&2
}
function makedeb {
@ -71,7 +71,12 @@ __EOF__
#update to the loatest code
svn --quiet update
packages=`find . -maxdepth 2 -name make_deb.sh | cut -d/ -f 2 | xargs`
packages=""
if [ $BUILDPKGS ];then
packages=$BUILDPKGS
else
packages=`find . -maxdepth 2 -name make_deb.sh | cut -d/ -f 2 | xargs`
fi
#fix 'all warnings being treated as errors'
export NO_WERROR=1