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/openssh/server.mog
          +++ new/build/openssh/server.mog
        1 +#
        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.
        6 +#
        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.
       10 +#
       11 +
       12 +#
       13 +# Copyright 2017 OmniTI Computer Consulting, Inc.  All rights reserved.
       14 +#
       15 +
       16 +# We want linked-image zones to update this at the same time global does.
       17 +<transform set name=pkg.fmri -> emit depend fmri=feature/package/dependency/self type=parent variant.opensolaris.zone=nonglobal>
       18 +<transform set name=pkg.fmri -> emit set name=variant.opensolaris.zone value=global value=nonglobal>
       19 +
   1   20  group groupname=sshd gid=92
   2   21  user ftpuser=false gcos-field="OpenSSH privsep user" group=sshd login-shell=/bin/false password=NP uid=92 username=sshd home-dir=/var/empty
   3   22  <transform file path=etc/ssh/moduli -> set preserve true>
   4   23  <transform file path=etc/ssh/ssh_config -> drop>
   5   24  <transform file path=etc/ssh/sshd_config -> set preserve renamenew>
   6   25  <transform dir path=usr/bin -> drop>
   7   26  <transform file path=usr/bin/.* -> drop>
   8   27  <transform link path=usr/bin/.* -> drop>
   9   28  <transform file path=usr/libexec/ssh-keysign -> drop>
  10   29  <transform file path=usr/libexec/ssh-pkcs11-helper -> drop>
  11   30  <transform dir path=usr/share/man/man1 -> drop>
  12   31  <transform file path=usr/share/man/man1/.* -> drop>
  13   32  <transform link path=usr/share/man/man1/.* -> drop>
  14   33  <transform file path=usr/share/man/man4/ssh_config.4 -> drop>
  15   34  <transform file path=usr/share/man/man1m/ssh-keysign.1m -> drop>
  16   35  <transform file path=usr/share/man/man1m/ssh-pkcs11-helper.1m -> drop>
  17   36  <transform file path=(usr/sbin/sshd|lib/svc/method/sshd|etc/ssh/sshd_config)$ -> set restart_fmri svc:/network/ssh:default>
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX