1 #
   2 # CDDL HEADER START
   3 #
   4 # The contents of this file are subject to the terms of the
   5 # Common Development and Distribution License (the "License").
   6 # You may not use this file except in compliance with the License.
   7 #
   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.
  12 #
  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]
  18 #
  19 # CDDL HEADER END
  20 #
  21 
  22 #
  23 # Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
  24 #
  25 
  26 #
  27 # This package will install successfully into any zone, global or
  28 # non-global.  The files, directories, links, and hardlinks, however,
  29 # will only be installed into the global zone.
  30 #
  31 <include hollow_zone_pkg>
  32 set name=pkg.fmri value=pkg:/system/zones/brand/lx@$(PKGVERS)
  33 set name=pkg.description value="Support for the 'lx' Brand"
  34 set name=pkg.summary value="lx Brand"
  35 set name=info.classification \
  36     value="org.opensolaris.category.2008:Applications/System Utilities"
  37 set name=variant.arch value=i386
  38 set name=variant.opensolaris.zone value=global value=nonglobal
  39 dir path=etc group=sys
  40 dir path=etc/zones group=sys
  41 dir path=usr group=sys
  42 dir path=usr/kernel group=sys
  43 dir path=usr/kernel/brand group=sys
  44 dir path=usr/kernel/brand/$(ARCH64) group=sys
  45 dir path=usr/kernel/drv group=sys
  46 dir path=usr/kernel/drv/$(ARCH64) group=sys
  47 dir path=usr/kernel/dtrace group=sys
  48 dir path=usr/kernel/dtrace/$(ARCH64) group=sys
  49 dir path=usr/kernel/fs group=sys
  50 dir path=usr/kernel/fs/$(ARCH64) group=sys
  51 dir path=usr/kernel/strmod group=sys
  52 dir path=usr/kernel/strmod/$(ARCH64) group=sys
  53 dir path=usr/lib
  54 dir path=usr/lib/brand
  55 dir path=usr/lib/brand/lx
  56 dir path=usr/lib/brand/lx/$(ARCH64)
  57 dir path=usr/lib/brand/lx/distros
  58 dir path=usr/lib/devfsadm group=sys
  59 dir path=usr/lib/devfsadm/linkmod group=sys
  60 driver name=lx_audio
  61 driver name=lx_ptm perms="lx_ptmajor 0666 root sys"
  62 driver name=lx_systrace perms="* 0644 root sys"
  63 file path=etc/zones/SUNWlx.xml mode=0444
  64 file path=usr/kernel/brand/$(ARCH64)/lx_brand group=sys mode=0755
  65 file path=usr/kernel/brand/lx_brand group=sys mode=0755
  66 file path=usr/kernel/drv/$(ARCH64)/lx_audio group=sys
  67 file path=usr/kernel/drv/$(ARCH64)/lx_ptm group=sys
  68 file path=usr/kernel/drv/$(ARCH64)/lx_systrace group=sys
  69 file path=usr/kernel/drv/lx_audio group=sys
  70 file path=usr/kernel/drv/lx_audio.conf group=sys
  71 file path=usr/kernel/drv/lx_ptm group=sys
  72 file path=usr/kernel/drv/lx_ptm.conf group=sys
  73 file path=usr/kernel/drv/lx_systrace group=sys
  74 file path=usr/kernel/drv/lx_systrace.conf group=sys
  75 file path=usr/kernel/fs/$(ARCH64)/lx_afs group=sys mode=0755
  76 file path=usr/kernel/fs/$(ARCH64)/lx_proc group=sys mode=0755
  77 file path=usr/kernel/fs/lx_afs group=sys mode=0755
  78 file path=usr/kernel/fs/lx_proc group=sys mode=0755
  79 file path=usr/kernel/strmod/$(ARCH64)/ldlinux group=sys mode=0755
  80 file path=usr/kernel/strmod/ldlinux group=sys mode=0755
  81 file path=usr/lib/brand/lx/$(ARCH64)/lx_librtld_db.so.1
  82 file path=usr/lib/brand/lx/$(ARCH64)/lx_nametoaddr.so.1
  83 file path=usr/lib/brand/lx/$(ARCH64)/lx_thunk.so.1
  84 file path=usr/lib/brand/lx/config.xml mode=0444
  85 file path=usr/lib/brand/lx/distros/centos35.distro mode=0444
  86 file path=usr/lib/brand/lx/distros/centos36.distro mode=0444
  87 file path=usr/lib/brand/lx/distros/centos37.distro mode=0444
  88 file path=usr/lib/brand/lx/distros/centos38.distro mode=0444
  89 file path=usr/lib/brand/lx/distros/rhel35.distro mode=0444
  90 file path=usr/lib/brand/lx/distros/rhel36.distro mode=0444
  91 file path=usr/lib/brand/lx/distros/rhel37.distro mode=0444
  92 file path=usr/lib/brand/lx/distros/rhel38.distro mode=0444
  93 file path=usr/lib/brand/lx/distros/rhel_centos_common mode=0444
  94 file path=usr/lib/brand/lx/etc_default_nfs group=sys mode=0444
  95 file path=usr/lib/brand/lx/etc_netconfig group=sys mode=0444
  96 file path=usr/lib/brand/lx/lx_distro_install mode=0755
  97 file path=usr/lib/brand/lx/lx_init_zone mode=0755
  98 file path=usr/lib/brand/lx/lx_install mode=0755
  99 file path=usr/lib/brand/lx/lx_librtld_db.so.1
 100 file path=usr/lib/brand/lx/lx_lockd mode=0755
 101 file path=usr/lib/brand/lx/lx_nametoaddr.so.1
 102 file path=usr/lib/brand/lx/lx_native mode=0755
 103 file path=usr/lib/brand/lx/lx_statd mode=0755
 104 file path=usr/lib/brand/lx/lx_support mode=0755
 105 file path=usr/lib/brand/lx/lx_thunk mode=0755
 106 file path=usr/lib/brand/lx/lx_thunk.so.1
 107 file path=usr/lib/brand/lx/platform.xml mode=0444
 108 file path=usr/lib/devfsadm/linkmod/SUNW_lx_link_$(ARCH).so group=sys
 109 file path=usr/lib/lx_brand.so.1
 110 hardlink path=usr/kernel/dtrace/$(ARCH64)/lx_systrace \
 111     target=../../../kernel/drv/$(ARCH64)/lx_systrace
 112 hardlink path=usr/kernel/dtrace/lx_systrace target=../../kernel/drv/lx_systrace
 113 legacy pkg=SUNWlxr arch=$(ARCH) category=system \
 114     desc="Support for the 'lx' Brand" \
 115     hotline="Please contact your local service provider" name="lx Brand (Root)" \
 116     vendor="Sun Microsystems, Inc." version=11.11,REV=2009.11.11
 117 legacy pkg=SUNWlxu arch=$(ARCH) category=system \
 118     desc="Support for the 'lx' Brand" \
 119     hotline="Please contact your local service provider" name="lx Brand (Usr)" \
 120     vendor="Sun Microsystems, Inc." version=11.11,REV=2009.11.11
 121 license cr_Sun license=cr_Sun
 122 license lic_CDDL license=lic_CDDL
 123 link path=usr/lib/brand/lx/64 target=$(ARCH64)