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 # Copyright 2014 Andrew Stormont.
  25 #
  26 
  27 set name=pkg.fmri value=pkg:/system/zones/brand/s10@$(PKGVERS)
  28 set name=pkg.description value="Support for the 'Solaris10' Brand"
  29 set name=pkg.summary value="Solaris 10 Containers: solaris10 brand support"
  30 set name=info.classification \
  31     value=org.opensolaris.category.2008:System/Virtualization
  32 set name=variant.arch value=$(ARCH)
  33 dir path=etc group=sys
  34 dir path=etc/brand group=sys
  35 dir path=etc/brand/solaris10 group=sys
  36 dir path=etc/zones group=sys
  37 $(sparc_ONLY)dir path=platform group=sys
  38 $(sparc_ONLY)dir path=platform/sun4u group=sys
  39 $(sparc_ONLY)dir path=platform/sun4u/kernel group=sys
  40 $(sparc_ONLY)dir path=platform/sun4u/kernel/brand group=sys
  41 $(sparc_ONLY)dir path=platform/sun4u/kernel/brand/$(ARCH64) group=sys
  42 $(sparc_ONLY)dir path=platform/sun4v group=sys
  43 $(sparc_ONLY)dir path=platform/sun4v/kernel group=sys
  44 $(sparc_ONLY)dir path=platform/sun4v/kernel/brand group=sys
  45 $(sparc_ONLY)dir path=platform/sun4v/kernel/brand/$(ARCH64) group=sys
  46 dir path=usr group=sys
  47 $(i386_ONLY)dir path=usr/kernel group=sys
  48 $(i386_ONLY)dir path=usr/kernel/brand group=sys
  49 $(i386_ONLY)dir path=usr/kernel/brand/$(ARCH64) group=sys
  50 dir path=usr/lib
  51 $(BUILD64)dir path=usr/lib/$(ARCH64)
  52 dir path=usr/lib/brand
  53 dir path=usr/lib/brand/solaris10 group=sys
  54 $(BUILD64)dir path=usr/lib/brand/solaris10/$(ARCH64)
  55 file path=etc/brand/solaris10/pkgrm.conf group=sys \
  56     original_name=SUNWs10brand:etc/brand/solaris10/pkgrm.conf preserve=true
  57 file path=etc/brand/solaris10/smf_disable.conf group=sys \
  58     original_name=SUNWs10brand:etc/brand/solaris10/smf_disable.conf \
  59     preserve=true
  60 file path=etc/zones/SUNWsolaris10.xml mode=0444
  61 $(sparc_ONLY)file path=platform/sun4u/kernel/brand/$(ARCH64)/s10_brand \
  62     group=sys mode=0755
  63 $(sparc_ONLY)file path=platform/sun4v/kernel/brand/$(ARCH64)/s10_brand \
  64     group=sys mode=0755
  65 $(i386_ONLY)file path=usr/kernel/brand/$(ARCH64)/s10_brand group=sys mode=0755
  66 $(i386_ONLY)file path=usr/kernel/brand/s10_brand group=sys mode=0755
  67 $(BUILD64)file path=usr/lib/$(ARCH64)/s10_brand.so.1
  68 $(BUILD64)file path=usr/lib/$(ARCH64)/s10_npreload.so.1
  69 $(BUILD64)file \
  70     path=usr/lib/brand/solaris10/$(ARCH64)/solaris10_librtld_db.so.1
  71 file path=usr/lib/brand/solaris10/attach mode=0755
  72 file path=usr/lib/brand/solaris10/clone mode=0755
  73 file path=usr/lib/brand/solaris10/common.ksh mode=0444
  74 file path=usr/lib/brand/solaris10/config.xml mode=0444
  75 file path=usr/lib/brand/solaris10/detach mode=0755
  76 file path=usr/lib/brand/solaris10/image_install mode=0755
  77 file path=usr/lib/brand/solaris10/p2v mode=0755
  78 file path=usr/lib/brand/solaris10/pkgrm.lst mode=0444
  79 file path=usr/lib/brand/solaris10/platform.xml mode=0444
  80 file path=usr/lib/brand/solaris10/postattach mode=0755
  81 file path=usr/lib/brand/solaris10/poststate mode=0755
  82 file path=usr/lib/brand/solaris10/prestate mode=0755
  83 file path=usr/lib/brand/solaris10/preuninstall mode=0755
  84 file path=usr/lib/brand/solaris10/s10_boot mode=0755
  85 file path=usr/lib/brand/solaris10/s10_isaexec_wrapper mode=0755
  86 file path=usr/lib/brand/solaris10/s10_native mode=0755
  87 file path=usr/lib/brand/solaris10/s10_net_physical mode=0755
  88 file path=usr/lib/brand/solaris10/s10_python_wrapper mode=0755
  89 file path=usr/lib/brand/solaris10/s10_replacefile mode=0755
  90 file path=usr/lib/brand/solaris10/s10_support mode=0755
  91 file path=usr/lib/brand/solaris10/smf_disable.lst mode=0444
  92 file path=usr/lib/brand/solaris10/solaris10_librtld_db.so.1
  93 file path=usr/lib/brand/solaris10/uninstall mode=0755
  94 file path=usr/lib/brand/solaris10/version mode=0444
  95 file path=usr/lib/s10_brand.so.1
  96 file path=usr/lib/s10_npreload.so.1
  97 legacy pkg=SUNWs10brandr desc="Support for the 'Solaris10' Brand" \
  98     name="Solaris 10 Containers: solaris10 brand support (Root)"
  99 legacy pkg=SUNWs10brandu desc="Support for the 'solaris10' Brand" \
 100     name="Solaris 10 Containers: solaris10 brand support (Usr)"
 101 license cr_Sun license=cr_Sun
 102 license lic_CDDL license=lic_CDDL
 103 $(BUILD64)link path=usr/lib/brand/solaris10/64 target=$(ARCH64)