transforms/mkgeneric
author david.comay@oracle.com
Wed, 09 Jul 2014 15:10:27 -0700
branchs11u2-sru
changeset 3201 6839f7d1f036
parent 2576 f1b6ecbb2d1e
child 3378 8c7eb3630145
permissions -rw-r--r--
18686478 kstat warning every minute in nova-compute log on SPARC 19061438 checkboxes related with 'create volume from Image' in the Horizon don't work 19064962 power state mapping for incomplete zone is incorrect 19065445 Horizon doesn't deal well with shutdown zones 19130253 pausing/suspension "successful" in horizon, though nothing happens 19136473 ZFSSA iSCSI Cinder Attach Volume Failed 19146728 missing an upstream utility 'dhcp_release' needed by instance termination 19148389 jsonpointer package missing as a dependency for jsonpatch 19158668 associating a new floating ip removes existing ipnat rules and re-adds them 19161623 problem in SERVICE/KEYSTONE 19166348 cinder & nova should default signing_dir explicitly for consistency 19166359 minor pkgfmt(1) issues with OpenStack manifests 19168609 System Info page doesn't work properly 19173435 problem in SERVICE/HORIZON 19181971 OpenStack pkg.summaries should include service type

#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#

#
# Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
#

# This set of transforms helps us take a package that's parameterized on a
# platform's versions and emit a package that conditionally depends on those
# versioned packages, predicated on the platform version packages being
# present.
#
# For instance, for a package "mako-generic", we want to create a package
# "mako", which brings in "mako-26" if "python-26" is present, and "mako-27" if
# "python-27" is present.
#
# We do this by grabbing just the set actions from "mako-generic", and emitting
# those conditional depend actions.  We require that the parameterized package
# name end in "-###" (typically by setting a pkgmogrify variable to "###"),
# which we also remove here.  This works in conjunction with a set of rules in
# make-rules/ips.mk which create and use another transform file that actually
# emit the conditional dependencies.

<transform file dir link hardlink license user group driver legacy signature -> drop>
<transform depend -> default nodrop false>
<transform depend nodrop=false -> drop>
<transform set name=pkg.fmri value=(?:pkg:/)?(.+)-###@(.*) -> \
	edit value -### "">
<transform depend nodrop=true -> delete nodrop true>