537 | egrep -v '^Output size:' \
538 | egrep -v '^Solo size statistics:' \
539 | egrep -v '^Using ROM API Version' \
540 | egrep -v '^Zero Signature length:' \
541 | egrep -v '^Note \(probably harmless\):' \
542 | egrep -v '::' \
543 | egrep -v -- '-xcache' \
544 | egrep -v '^\+' \
545 | egrep -v '^cc1: note: -fwritable-strings' \
546 | egrep -v 'svccfg-native -s svc:/' \
547 | sort | uniq >$SRC/${NOISE}.out
548 if [ ! -f $SRC/${NOISE}.ref ]; then
549 cp $SRC/${NOISE}.out $SRC/${NOISE}.ref
550 fi
551 echo "\n==== Build noise differences ($LABEL) ====\n" \
552 >>$mail_msg_file
553 diff $SRC/${NOISE}.ref $SRC/${NOISE}.out >>$mail_msg_file
554 fi
555
556 #
557 # Re-sign selected binaries using signing server
558 # (gatekeeper builds only)
559 #
560 if [ -n "$CODESIGN_USER" -a "$this_build_ok" = "y" ]; then
561 echo "\n==== Signing proto area at `date` ====\n" >> $LOGFILE
562 signing_file="${TMPDIR}/signing"
563 rm -f ${signing_file}
564 export CODESIGN_USER
565 signproto $SRC/tools/codesign/creds 2>&1 | \
566 tee -a ${signing_file} >> $LOGFILE
567 echo "\n==== Finished signing proto area at `date` ====\n" \
568 >> $LOGFILE
569 echo "\n==== Crypto module signing errors ($LABEL) ====\n" \
570 >> $mail_msg_file
571 egrep 'WARNING|ERROR' ${signing_file} >> $mail_msg_file
572 if (( $? == 0 )) ; then
573 build_ok=n
574 this_build_ok=n
575 fi
576 fi
577
578 #
579 # Building Packages
580 #
581 if [ "$p_FLAG" = "y" -a "$this_build_ok" = "y" ]; then
582 if [ -d $SRC/pkg -o -d $SRC/pkgdefs ]; then
583 echo "\n==== Creating $LABEL packages at `date` ====\n" \
584 >> $LOGFILE
585 echo "Clearing out $PKGARCHIVE ..." >> $LOGFILE
586 rm -rf $PKGARCHIVE >> "$LOGFILE" 2>&1
587 mkdir -p $PKGARCHIVE >> "$LOGFILE" 2>&1
588
589 for d in pkg pkgdefs; do
590 if [ ! -f "$SRC/$d/Makefile" ]; then
591 continue
592 fi
593 rm -f $SRC/$d/${INSTALLOG}.out
594 cd $SRC/$d
595 /bin/time $MAKE -e install 2>&1 | \
596 tee -a $SRC/$d/${INSTALLOG}.out >> $LOGFILE
597 done
598
|
537 | egrep -v '^Output size:' \
538 | egrep -v '^Solo size statistics:' \
539 | egrep -v '^Using ROM API Version' \
540 | egrep -v '^Zero Signature length:' \
541 | egrep -v '^Note \(probably harmless\):' \
542 | egrep -v '::' \
543 | egrep -v -- '-xcache' \
544 | egrep -v '^\+' \
545 | egrep -v '^cc1: note: -fwritable-strings' \
546 | egrep -v 'svccfg-native -s svc:/' \
547 | sort | uniq >$SRC/${NOISE}.out
548 if [ ! -f $SRC/${NOISE}.ref ]; then
549 cp $SRC/${NOISE}.out $SRC/${NOISE}.ref
550 fi
551 echo "\n==== Build noise differences ($LABEL) ====\n" \
552 >>$mail_msg_file
553 diff $SRC/${NOISE}.ref $SRC/${NOISE}.out >>$mail_msg_file
554 fi
555
556 #
557 # Building Packages
558 #
559 if [ "$p_FLAG" = "y" -a "$this_build_ok" = "y" ]; then
560 if [ -d $SRC/pkg -o -d $SRC/pkgdefs ]; then
561 echo "\n==== Creating $LABEL packages at `date` ====\n" \
562 >> $LOGFILE
563 echo "Clearing out $PKGARCHIVE ..." >> $LOGFILE
564 rm -rf $PKGARCHIVE >> "$LOGFILE" 2>&1
565 mkdir -p $PKGARCHIVE >> "$LOGFILE" 2>&1
566
567 for d in pkg pkgdefs; do
568 if [ ! -f "$SRC/$d/Makefile" ]; then
569 continue
570 fi
571 rm -f $SRC/$d/${INSTALLOG}.out
572 cd $SRC/$d
573 /bin/time $MAKE -e install 2>&1 | \
574 tee -a $SRC/$d/${INSTALLOG}.out >> $LOGFILE
575 done
576
|