Print this page
Remove Python 2.6

Split Close
Expand all
Collapse all
          --- old/build/pkg/build.sh
          +++ new/build/pkg/build.sh
↓ open down ↓ 13 lines elided ↑ open up ↑
  14   14  #
  15   15  # When distributing Covered Code, include this CDDL HEADER in each
  16   16  # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  17   17  # If applicable, add the following below this CDDL HEADER, with the
  18   18  # fields enclosed by brackets "[]" replaced with your own identifying
  19   19  # information: Portions Copyright [yyyy] [name of copyright owner]
  20   20  #
  21   21  # CDDL HEADER END
  22   22  #
  23   23  #
  24      -# Copyright 2011-2012 OmniTI Computer Consulting, Inc.  All rights reserved.
       24 +# Copyright 2017 OmniTI Computer Consulting, Inc.  All rights reserved.
  25   25  # Use is subject to license terms.
  26   26  #
  27   27  # Load support functions
  28   28  . ../../lib/functions.sh
  29   29  
  30   30  # This are used so people can see what packages get built.. pkg actually publishes
  31   31  PKG=package/pkg
  32   32  PKG=system/zones/brand/ipkg
  33   33  PKG=system/zones/brand/lipkg
  34   34  SUMMARY="This isn't used, it's in the makefiles for pkg"
↓ open down ↓ 6 lines elided ↑ open up ↑
  41   41      logerr "No PKGPUBLISHER specified. Check lib/site.sh?"
  42   42      exit # Force it, we're fucked here.
  43   43  fi
  44   44  
  45   45  GIT=/usr/bin/git
  46   46  # On a running system, these are in /usr/include/.
  47   47  HEADERS="libbrand.h libuutil.h libzonecfg.h"
  48   48  BRAND_CFLAGS="-I./gate-include"
  49   49  
  50   50  BUILD_DEPENDS_IPS="developer/versioning/git developer/versioning/mercurial system/zones/internal"
  51      -DEPENDS_IPS="runtime/python-26@2.6.7"
       51 +DEPENDS_IPS="runtime/python-27"
  52   52  
  53   53  crib_headers(){
  54   54      # Use PREBUILT_ILLUMOS if available, otherwise, just pull off the
  55   55      # running system.
  56   56      mkdir -p $TMPDIR/$BUILDDIR/pkg/src/brand/gate-include ||
  57   57          logerr "Cannot create include stub directory"
  58   58      for hdr in $HEADERS; do
  59   59          # first just copy from the running system
  60   60          cp /usr/include/$hdr $TMPDIR/$BUILDDIR/pkg/src/brand/gate-include/. ||
  61   61              logerr "Copy $hdr from /usr/include failed"
↓ open down ↓ 70 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX