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