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 set name=pkg.fmri value=pkg:/system/zones/brand/sn1@$(PKGVERS)
  27 set name=pkg.description value="Support for the Fake Solaris N-1 Brand"
  28 set name=pkg.summary value="Fake Solaris N-1 Brand"
  29 set name=info.classification \
  30     value=org.opensolaris.category.2008:System/Virtualization
  31 set name=variant.arch value=$(ARCH)
  32 dir path=etc group=sys
  33 dir path=etc/zones group=sys
  34 $(sparc_ONLY)dir path=platform group=sys
  35 $(sparc_ONLY)dir path=platform/sun4u group=sys
  36 $(sparc_ONLY)dir path=platform/sun4u/kernel group=sys
  37 $(sparc_ONLY)dir path=platform/sun4u/kernel/brand group=sys
  38 $(sparc_ONLY)dir path=platform/sun4u/kernel/brand/$(ARCH64) group=sys
  39 $(sparc_ONLY)dir path=platform/sun4v group=sys
  40 $(sparc_ONLY)dir path=platform/sun4v/kernel group=sys
  41 $(sparc_ONLY)dir path=platform/sun4v/kernel/brand group=sys
  42 $(sparc_ONLY)dir path=platform/sun4v/kernel/brand/$(ARCH64) group=sys
  43 dir path=usr group=sys
  44 $(i386_ONLY)dir path=usr/kernel group=sys
  45 $(i386_ONLY)dir path=usr/kernel/brand group=sys
  46 $(i386_ONLY)dir path=usr/kernel/brand/$(ARCH64) group=sys
  47 dir path=usr/lib
  48 dir path=usr/lib/$(ARCH64)
  49 dir path=usr/lib/brand
  50 dir path=usr/lib/brand/sn1 group=sys
  51 dir path=usr/lib/brand/sn1/$(ARCH64)
  52 file path=etc/zones/SUNWsn1.xml mode=0444
  53 $(sparc_ONLY)file path=platform/sun4u/kernel/brand/$(ARCH64)/sn1_brand \
  54     group=sys mode=0755
  55 $(sparc_ONLY)file path=platform/sun4v/kernel/brand/$(ARCH64)/sn1_brand \
  56     group=sys mode=0755
  57 $(i386_ONLY)file path=usr/kernel/brand/$(ARCH64)/sn1_brand group=sys mode=0755
  58 $(i386_ONLY)file path=usr/kernel/brand/sn1_brand group=sys mode=0755
  59 file path=usr/lib/$(ARCH64)/sn1_brand.so.1
  60 file path=usr/lib/brand/sn1/$(ARCH64)/sn1_librtld_db.so.1
  61 file path=usr/lib/brand/sn1/config.xml mode=0444
  62 file path=usr/lib/brand/sn1/platform.xml mode=0444
  63 file path=usr/lib/brand/sn1/sn1_boot mode=0755
  64 file path=usr/lib/brand/sn1/sn1_librtld_db.so.1
  65 file path=usr/lib/sn1_brand.so.1
  66 legacy pkg=SUNWsn1rint desc="Support for the Fake Solaris N-1 Brand" \
  67     name="Fake Solaris N-1 Brand (Root)"
  68 legacy pkg=SUNWsn1uint desc="Support for the Fake Solaris N-1 Brand" \
  69     name="Fake Solaris N-1 Brand (Usr)"
  70 license cr_Sun license=cr_Sun
  71 license lic_CDDL license=lic_CDDL
  72 link path=usr/lib/brand/sn1/64 target=$(ARCH64)