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