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/mozilla-nss-nspr/nss-local.mog
+++ new/build/mozilla-nss-nspr/nss-local.mog
1 1 #
2 -# CDDL HEADER START
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.
3 6 #
4 -# The contents of this file are subject to the terms of the
5 -# Common Development and Distribution License, Version 1.0 only
6 -# (the "License"). You may not use this file except in compliance
7 -# with 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.
8 10 #
9 -# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 -# or http://www.opensolaris.org/os/licensing.
11 -# See the License for the specific language governing permissions
12 -# and limitations under the License.
11 +
13 12 #
14 -# When distributing Covered Code, include this CDDL HEADER in each
15 -# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 -# If applicable, add the following below this CDDL HEADER, with the
17 -# fields enclosed by brackets "[]" replaced with your own identifying
18 -# information: Portions Copyright [yyyy] [name of copyright owner]
13 +# Copyright 2017 OmniTI Computer Consulting, Inc. All rights reserved.
19 14 #
20 -# CDDL HEADER END
21 -#
22 -#
23 -# Copyright 2011-2012 OmniTI Computer Consulting, Inc. All rights reserved.
24 -# Use is subject to license terms.
25 -#
15 +
26 16 <transform file path=.*/lib.*\.a$ -> drop>
27 17 <transform dir path=usr/local.* -> drop>
28 18 <transform file path=usr/local.* -> drop>
29 19 <transform link path=usr/local.* -> drop>
30 20 <transform file path=license$ -> drop>
31 21
22 +# We want linked-image zones to update this at the same time global does.
23 +<transform set name=pkg.fmri -> emit depend fmri=feature/package/dependency/self type=parent variant.opensolaris.zone=nonglobal>
24 +<transform set name=pkg.fmri -> emit set name=variant.opensolaris.zone value=global value=nonglobal>
25 +
32 26 license nss/pkg/solaris/common_files/copyright license="MPL 2.0"
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX