Changeset 0c25615 for builder


Ignore:
Timestamp:
09/26/17 14:09:23 (8 years ago)
Author:
Edwin Eefting <edwin@datux.nl>
Branches:
gcc484, master, perl-5.22
Children:
b9261a1
Parents:
c6da4cb
Message:

buildnumbers should be updated in rebuildcheck instead of buildrooted. initrd build number was not increased because of this

File:
1 edited

Legend:

Unmodified
Added
Removed
  • builder/runrooted

    rc6da4cb r0c25615  
    223223mv $WORKDIR/*.version $DIR || exit 1
    224224
    225 #copy check if pkg file is different and update build number when needed
     225#move packages from buildroot to workdir
    226226for PKG in $WORKDIR/*.pkg; do
    227227        NAME=`basename $PKG|sed 's/.pkg$//g'`
    228228        if ! cmp $PKG $DIR/$NAME.pkg; then
    229                 BUILD=`cat $DIR/$NAME.build 2>/dev/null`
    230                 if [ "$BUILD" == "" ]; then
    231                         BUILD=1
    232                 else
    233                         (( BUILD=BUILD+1 ))
    234                 fi
    235                 echo "$PKG was rebuilded, build $BUILD"
    236229                mv $PKG $DIR || exit 1
    237                 echo $BUILD > $DIR/$NAME.build || exit 1
    238230        fi
    239231done
Note: See TracChangeset for help on using the changeset viewer.