build deb on ubuntu server
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14750 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
40ea023dec
commit
13202bf4a7
@ -30,7 +30,7 @@ fi
|
||||
XCAT_VERSION=`cat Version`
|
||||
TRUNK_REVISION=`svnversion | cut -d ":" -f1`
|
||||
CUR_DATE=`date +%Y%m%d`
|
||||
VERSION="$XCAT_VERSION$PKG_LOCATION-rev$TRUNK_REVISION-$CUR_DATE"
|
||||
VERSION="${XCAT_VERSION}-${PKG_LOCATION}${CUR_DATE}"
|
||||
|
||||
function makedeb {
|
||||
SRC_ROOT=$1
|
||||
@ -48,7 +48,7 @@ function makedeb {
|
||||
do
|
||||
DIR=`echo ${DEBIAN_DIR} | sed -e 's/[/]debian$//'`
|
||||
cd ${DIR}
|
||||
dch -v $VERSION -c debian/changelog "$BUILD_STRING"
|
||||
dch -v $VERSION -b -c debian/changelog "$BUILD_STRING"
|
||||
dpkg-buildpackage
|
||||
cd -
|
||||
RC=$?
|
||||
|
Loading…
Reference in New Issue
Block a user