Print this page
11224 nightly and bldenv should be usable directly

Split Close
Expand all
Collapse all
          --- old/usr/src/tools/scripts/nightly.sh
          +++ new/usr/src/tools/scripts/nightly
↓ open down ↓ 18 lines elided ↑ open up ↑
  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   26  # Copyright 2011 Nexenta Systems, Inc.  All rights reserved.
  27   27  # Copyright 2012 Joshua M. Clulow <josh@sysmgr.org>
  28   28  # Copyright (c) 2017 by Delphix. All rights reserved.
  29      -# Copyright 2019 Joyent, Inc.
       29 +# Copyright 2020 Joyent, Inc.
  30   30  # Copyright 2018 OmniOS Community Edition (OmniOSce) Association.
  31   31  # Copyright 2019 Peter Trible.
  32   32  #
  33   33  # Based on the nightly script from the integration folks,
  34   34  # Mostly modified and owned by mike_s.
  35   35  # Changes also by kjc, dmk.
  36   36  #
  37   37  # BRINGOVER_WS may be specified in the env file.
  38   38  # The default is the old behavior of CLONE_WS
  39   39  #
↓ open down ↓ 619 lines elided ↑ open up ↑
 659  659          fi
 660  660  else
 661  661          if [ -f $OPTHOME/onbld/env/$1 ]; then
 662  662                  . $OPTHOME/onbld/env/$1
 663  663          else
 664  664                  echo "Cannot find env file as either $1 or $OPTHOME/onbld/env/$1"
 665  665                  exit 1
 666  666          fi
 667  667  fi
 668  668  
 669      -# contents of stdenv.sh inserted after next line:
 670      -# STDENV_START
 671      -# STDENV_END
 672      -
 673  669  # Check if we have sufficient data to continue...
 674  670  [[ -v CODEMGR_WS ]] || fatal_error "Error: Variable CODEMGR_WS not set."
 675  671  if  [[ "${NIGHTLY_OPTIONS}" == ~(F)n ]] ; then
 676  672          # Check if the gate data are valid if we don't do a "bringover" below
 677  673          [[ -d "${CODEMGR_WS}" ]] || \
 678  674                  fatal_error "Error: ${CODEMGR_WS} is not a directory."
 679  675          [[ -f "${CODEMGR_WS}/usr/src/Makefile" ]] || \
 680  676                  fatal_error "Error: ${CODEMGR_WS}/usr/src/Makefile not found."
 681  677  fi
 682  678  
↓ open down ↓ 1383 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX