Changes in builder/runrooted [0c25615:d2a077a]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
builder/runrooted
r0c25615 rd2a077a 83 83 NEEDS=`../npl/findbuilddeps $PGMPATH` || exit 1 84 84 for NEED in $NEEDS; do 85 86 CONFIG=1 87 echo -n "Finding dependency $NEED: " 88 TGZ=`../npl/findpkg "$NEED"` || exit 1 89 echo -n "$TGZ" 90 91 PKGNAME=`basename "$TGZ"|sed 's/.tgz$//'` 92 85 93 #already installed? 86 if grep -x "$NEED" ../npl/buildroot.list >/dev/null; then 94 if [ -e "$BUILDROOT/var/log/packages/$PKGNAME" ]; then 95 echo " (already installed, skipping)" 87 96 continue 88 fi 89 90 CONFIG=1 91 echo -n "Build-dependency $NEED installeren: " 92 TGZ=`../npl/findpkg "$NEED"` || exit 1 93 echo "$TGZ" 97 else 98 echo " (installing)" 99 fi 94 100 95 101 #Bepaal waar het pakketje in de buildroot moet terecht komen, ivm crosscompiling. … … 223 229 mv $WORKDIR/*.version $DIR || exit 1 224 230 225 # move packages from buildroot to workdir231 #copy check if pkg file is different and update build number when needed 226 232 for PKG in $WORKDIR/*.pkg; do 227 233 NAME=`basename $PKG|sed 's/.pkg$//g'` 228 234 if ! cmp $PKG $DIR/$NAME.pkg; then 235 BUILD=`cat $DIR/$NAME.build 2>/dev/null` 236 if [ "$BUILD" == "" ]; then 237 BUILD=1 238 else 239 (( BUILD=BUILD+1 )) 240 fi 241 echo "$PKG was rebuilded, build $BUILD" 229 242 mv $PKG $DIR || exit 1 243 echo $BUILD > $DIR/$NAME.build || exit 1 230 244 fi 231 245 done
Note: See TracChangeset
for help on using the changeset viewer.