Changeset 548 for branches/stable


Ignore:
Timestamp:
May 14, 2006, 1:12:31 AM (13 years ago)
Author:
bcornec
Message:

Introduction of TAG concept (for pkg delivery)

Location:
branches/stable/tools
Files:
1 added
2 edited
1 copied

Legend:

Unmodified
Added
Removed
  • branches/stable/tools/common-env

    r547 r548  
    1010export TOPDIR=${BASE}/RPMS
    1111mkdir -p ${TOPDIR}
    12 
    13 # Should not be modified below
    14 dname=`dirname $0`
    15 export SVNBRANCH="branches/`cat ${TOOLHOME}/../mondo/VERSION`"
    1612export TMP=${BASE}/tmp
    1713mkdir -p ${TMP}
    1814
     15# Should not be modified below
     16export SVNBRANCH="branches/`cat ${TOOLHOME}/../mondo/VERSION`"
    1917export MINDI_VER=`cat ${BASE}/svn/${SVNBRANCH}/mindi/VERSION`
    2018export MONDO_VER=`cat ${BASE}/svn/${SVNBRANCH}/mondo/VERSION`
     
    2321cd $TOOLHOME/..
    2422export REVISION=`svnversion .`
     23export TAG=`cat ${TOOLHOME}/TAG
  • branches/stable/tools/mkcommon

    r547 r548  
    3434cd ${BASE}/svn
    3535
    36 for p in "$c"; do
    37     v=`cat ${VER}/$p/VERSION`
     36for p in $c; do
     37    v=`cat ${SVNBRANCH}/$p/VERSION`
    3838    echo "Management of $p $v-$REVISION"
    3939    rm -fr $p-$v
    40     svn export ${VER}/$p $p-$v
     40    svn export ${SVNBRANCH}/$p $p-$v
    4141    echo "$REVISION" > $p-$v/REVISION
    4242    echo "Generating SVN log file ..."
    43     svn log -v ${VER}/$p > $p-$v/svn.log
     43    svn log -v ${SVNBRANCH}/$p > $p-$v/svn.log
    4444
    4545    if [ _"`echo $p | grep mondo-doc`" != _"" ]; then
     
    5858
    5959    if [ _"`echo $p | grep -v kernel | grep mindi`" != _"" ]; then
    60         v1=`cat ${VER}/mondo-doc/VERSION`
     60        v1=`cat ${SVNBRANCH}/mondo-doc/VERSION`
    6161        if [ ! -d mondo-doc-$v1 ]; then
    6262            echo "mondo-doc should be created before $p"
     
    6464        fi
    6565        (cd mondo-doc-$v1 ; make -f Makefile.man install-$p INSTALLDIR=../$p-$v)
    66         rm -f mindi-${MINDI_VER}/rootfs/sbin/parted2fdisk-ia64
     66        rm -f $p-$v/rootfs/sbin/parted2fdisk-ia64
    6767    fi
    6868    if [ "`echo $p | grep -v doc | grep  mondo`" != "" ]; then
    69         v1=`cat ${VER}/mondo-doc/VERSION`
     69        v1=`cat ${SVNBRANCH}/mondo-doc/VERSION`
    7070        if [ ! -d mondo-doc-$v1 ]; then
    7171            echo "mondo-doc should be created before $p"
     
    7878    # Finally creates the tar files
    7979    echo "Creating $p tar files"
    80     tar cvfhz ${TOPDIR}/SOURCES/$p-$v.tgz $p-$v
    81     tar cvfhj ${TOPDIR}/SOURCES/$p-$v.tar.bz2 $p-$v
     80    tar cfhz ${TOPDIR}/SOURCES/$p-$v-$TAG.tgz $p-$v
     81    tar cfhj ${TOPDIR}/SOURCES/$p-$v-$TAG.tar.bz2 $p-$v
    8282done
  • branches/stable/tools/svn-env

    r547 r548  
    1010export TOPDIR=${BASE}/RPMS
    1111mkdir -p ${TOPDIR}
    12 
    13 # Should not be modified below
    14 dname=`dirname $0`
    15 export SVNBRANCH="branches/`cat ${TOOLHOME}/../mondo/VERSION`"
    1612export TMP=${BASE}/tmp
    1713mkdir -p ${TMP}
    1814
     15# Should not be modified below
     16export SVNBRANCH="branches/`cat ${TOOLHOME}/../mondo/VERSION`"
    1917export MINDI_VER=`cat ${BASE}/svn/${SVNBRANCH}/mindi/VERSION`
    2018export MONDO_VER=`cat ${BASE}/svn/${SVNBRANCH}/mondo/VERSION`
     
    2321cd $TOOLHOME/..
    2422export REVISION=`svnversion .`
     23export TAG=`cat ${TOOLHOME}/TAG
Note: See TracChangeset for help on using the changeset viewer.