Print this page
NEX-9559 remove nza-closed cruft
Reviewed by: Roman Strashkin <roman.strashkin@nexenta.com>
Reviewed by: Steve Peng <steve.peng@nexenta.com>
5773 Extra pointless steps in kernel module builds
Reviewed by: Dan McDonald <danmcd@omniti.com>
Reviewed by: Josef Sipek <jeffpc@josefsipek.net>
Reviewed by: Rich Lowe <richlowe@richlowe.net>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Approved by: Rich Lowe <richlowe@richlowe.net>
NEX-1149 add debug tag to uname output on debug builds
OS-41 Support building with Jenkins
re #13825 backport illumos 3298 (link-editor version)
3298 illumos link-editor and related tools should be differentiable
Reviewed by: Joshua M. Clulow <josh@sysmgr.org>
Reviewed by: Dan McDonald <danmcd@nexenta.com>
Approved by: Garrett D'Amore <garrett@damore.org>
re #8813 rb3805 Failed to set DHCP on bnx0 network interface
8226 nza-kernel needs to be buildable by itself
Re #6790 backspace should perform delete on console
VAAI (XXX ATS support for COMSTAR, YYY Block-copy support for COMSTAR)

Split Close
Expand all
Collapse all
          --- old/usr/src/tools/scripts/nightly.sh
          +++ new/usr/src/tools/scripts/nightly.sh
↓ open down ↓ 15 lines elided ↑ open up ↑
  16   16  # If applicable, add the following below this CDDL HEADER, with the
  17   17  # fields enclosed by brackets "[]" replaced with your own identifying
  18   18  # information: Portions Copyright [yyyy] [name of copyright owner]
  19   19  #
  20   20  # CDDL HEADER END
  21   21  #
  22   22  
  23   23  #
  24   24  # Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
  25   25  # Copyright 2008, 2010, Richard Lowe
  26      -# Copyright 2011 Nexenta Systems, Inc.  All rights reserved.
  27   26  # Copyright 2012 Joshua M. Clulow <josh@sysmgr.org>
       27 +# Copyright 2014 Nexenta Systems, Inc.  All rights reserved.
  28   28  # Copyright (c) 2017 by Delphix. All rights reserved.
  29   29  #
  30   30  # Based on the nightly script from the integration folks,
  31   31  # Mostly modified and owned by mike_s.
  32   32  # Changes also by kjc, dmk.
  33   33  #
  34   34  # BRINGOVER_WS may be specified in the env file.
  35   35  # The default is the old behavior of CLONE_WS
  36   36  #
  37   37  # -i on the command line, means fast options, so when it's on the
↓ open down ↓ 61 lines elided ↑ open up ↑
  99   99                      build "non-DEBUG" "$suffix-nd" "-nd" "$MULTI_PROTO"
 100  100          else
 101  101                  echo "\n==== No non-DEBUG $open_only build ====\n" >> "$LOGFILE"
 102  102          fi
 103  103  
 104  104          # non-DEBUG build ends
 105  105  
 106  106          # DEBUG build begins
 107  107  
 108  108          if [ "$D_FLAG" = "y" ]; then
      109 +                VERSION=$VERSION":debug"
 109  110                  set_debug_build_flags
 110  111                  CODESIGN_USER="$crypto_signer" \
 111  112                      build "DEBUG" "$suffix" "" "$MULTI_PROTO"
 112  113          else
 113  114                  echo "\n==== No DEBUG $open_only build ====\n" >> "$LOGFILE"
 114  115          fi
 115  116  
 116  117          # DEBUG build ends
 117  118  
 118  119          p_FLAG="$orig_p_FLAG"
↓ open down ↓ 953 lines elided ↑ open up ↑
1072 1073                          ;;
1073 1074          esac
1074 1075  
1075 1076          if [[ $state != "Interrupted" && $build_extras_ok != "y" ]]; then
1076 1077                  state=Failed
1077 1078          fi
1078 1079  
1079 1080          NIGHTLY_STATUS=$state
1080 1081          export NIGHTLY_STATUS
1081 1082  
     1083 +        # Want ${LLOG}/mail_msg available to POST_NIGHTLY
     1084 +        cat $build_time_file $build_environ_file $mail_msg_file \
     1085 +            > ${LLOG}/mail_msg
     1086 +
1082 1087          run_hook POST_NIGHTLY $state
1083 1088          run_hook SYS_POST_NIGHTLY $state
1084 1089  
1085 1090          #
1086 1091          # mailx(1) sets From: based on the -r flag
1087 1092          # if it is given.
1088 1093          #
1089 1094          mailx_r=
1090 1095          if [[ -n "${MAILFROM}" ]]; then
1091 1096                  mailx_r="-r ${MAILFROM}"
1092 1097          fi
1093 1098  
1094      -        cat $build_time_file $build_environ_file $mail_msg_file \
1095      -            > ${LLOG}/mail_msg
1096 1099          if [ "$m_FLAG" = "y" ]; then
1097 1100                  cat ${LLOG}/mail_msg | /usr/bin/mailx ${mailx_r} -s \
1098 1101          "Nightly ${MACH} Build of `basename ${CODEMGR_WS}` ${state}." \
1099 1102                          ${MAILTO}
1100 1103          fi
1101 1104  
1102 1105          if [ "$u_FLAG" = "y" -a "$build_ok" = "y" ]; then
1103 1106                  staffer cp ${LLOG}/mail_msg $PARENT_WS/usr/src/mail_msg-${MACH}
1104 1107                  staffer cp $LOGFILE $PARENT_WS/usr/src/nightly-${MACH}.log
1105 1108          fi
↓ open down ↓ 1054 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX