Print this page
Add parent dependencies to packages that always need linked-image updating
NOTE:   Parent-dependency packages need to spell out they do both global and
        nonglobal zones.

Split Close
Expand all
Collapse all
          --- old/build/openssl/local.mog
          +++ new/build/openssl/local.mog
   1      -# CDDL HEADER START
   2    1  #
   3      -# The contents of this file are subject to the terms of the
   4      -# Common Development and Distribution License, Version 1.0 only
   5      -# (the "License").  You may not use this file except in compliance
   6      -# with the License.
        2 +# This file and its contents are supplied under the terms of the
        3 +# Common Development and Distribution License ("CDDL"), version 1.0.
        4 +# You may only use this file in accordance with the terms of version
        5 +# 1.0 of the CDDL.
   7    6  #
   8      -# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9      -# or http://www.opensolaris.org/os/licensing.
  10      -# See the License for the specific language governing permissions
  11      -# and limitations under the License.
        7 +# A full copy of the text of the CDDL should have accompanied this
        8 +# source.  A copy of the CDDL is also available via the Internet at
        9 +# http://www.illumos.org/license/CDDL.
  12   10  #
  13      -# When distributing Covered Code, include this CDDL HEADER in each
  14      -# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15      -# If applicable, add the following below this CDDL HEADER, with the
  16      -# fields enclosed by brackets "[]" replaced with your own identifying
  17      -# information: Portions Copyright [yyyy] [name of copyright owner]
       11 +
  18   12  #
  19      -# CDDL HEADER END
       13 +# Copyright 2017 OmniTI Computer Consulting, Inc.  All rights reserved.
  20   14  #
  21      -#
  22      -# Copyright 2011-2012 OmniTI Computer Consulting, Inc.  All rights reserved.
  23      -# Use is subject to license terms.
       15 +
  24   16  <transform dir path=usr/ssl/man/.* -> edit path usr/ssl/man usr/share/man>
  25   17  <transform file path=usr/ssl/man/.* -> edit path usr/ssl/man usr/share/man>
  26   18  <transform link path=usr/ssl/man/.* -> edit path usr/ssl/man usr/share/man>
       19 +
       20 +# We want linked-image zones to update this at the same time global does.
       21 +<transform set name=pkg.fmri -> emit depend fmri=feature/package/dependency/self type=parent variant.opensolaris.zone=nonglobal>
       22 +<transform set name=pkg.fmri -> emit set name=variant.opensolaris.zone value=global value=nonglobal>
       23 +
  27   24  license LICENSE license=OpenSSL
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX