6926434 ib_read_bw, ib_read_lat: OFED utilities sometimes hang when using "-e" (event) flag
6996726 "rds-stress --show-perfdata" option is broken.
7003185 rds-stress man page needs cleanup
7005654 qperf: 32bit only: qperf fails in all RC/UD streaming tests
7024095 set_nodedesc.sh: heading whitespace of HCA specific desc string is ignored if '-N' not specified
7043392 OFED 1.5.3: test_verbs: 'resize CQ' test failed on tavor
7043758 OFED 1.5.3: test_verbs: core dump while during async test on tavor with snv_166
7044543 ibsysstat server process fails to get cpu info
7046730 ibstatus needs to clean up after itself
7050802 OFED 1.5.3: ib_send_bw/ib_send_lat doesn't work with '-g' option
7061241 OFED 1.5.3 ib_read_lat/ib_read_bw don't work between tavor and hermon
7087339 modify solaris changes to libmlx4 to use returned inline size from hermon driver
7090343 solaris_set_nodedesc: the -N option does not work
7091277 /usr/man/man3/ibnd_debug.3 and ibnd_destroy_fabric.3 refer to non-existence ibnd_discover_fabric.3
7091649 OFED 1.5.3: ibdiagnet: "-vlr -r" shows file open failure messages on Solaris
7093499 ib_rdma_lat, ib_read_lat, ib_write_lat and other IB verb latency tools should use gethrtime
7095000 mem leak in libibvers ibv_read_sysfs_file()
7095879 resize cq in libmlx4 incorrect
7095943 rdma_lat & rdma_bw core dump on non ib system
7099692 Add man pages for OFUV perftest utilities
7108873 definitions in sol_uverbs_ioctl.h & sol_umad_ioctl.h are duplicated in solaris_compatibility.c
7119924 ibportstate: operations enable, disable, and reset should only be allowed on switch ports
7120891 ibv_devinfo should report a valid active_mtu instead of 'Unknown'
7141996 sol_uverbs should provide ioctl calls to get GIDs and PKEYs for libibverbs (userland changes)
7144445 setnodedesc.sh -v white space issue
7146479 qperf --cpu_affinity doesn't match with solaris cpu no.
7146482 qperf -cm1 sometimes failed with "rdma_listen failed" message
#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
# Copyright (c) 2010, Oracle and/or it's affiliates. All rights reserved.
#
#
# Rules and Macros for creating a template build zone from the installed system
# and a set of build zones that are clones of the template build zone.
#
# To use these rules to create a template build zone
# $ gmake -f make-rules/build-zone.mk template-build-zone
#
# To use these rules to clone the template zone
# $ gmake -f make-rules/build-zone.mk build-zone-[1-9]
# or
# $ gmake -f make-rules/build-zone.mk \
# /rpool/zones/build-zone-{*}/root/etc/sysidcfg
#
# Before you create any cloned build zones, it is recommended that you create
# the template build zone, boot it, and make any customizations to it first.
# The act of booting the template zone will cause it to perform any "first boot"
# tasks that might othwise slow down the initial boot of a new build zone.
# Also, all customizations of the template zone will only propagate to the build
# zones when they are created.
#
ZONECFG = /usr/sbin/zonecfg
ZONEADM = /usr/sbin/zoneadm
TZ= $(shell sed -e '/^TZ=/!d' -e 's;TZ=;;' /etc/default/init)
ZONESCFG_DIR = /etc/zones
BUILD_ZONE_SPACE = /rpool/zones
TOUCH = /usr/bin/touch
SYSIDCFG = root/etc/sysidcfg
ZI_TAG = root/.installed
# the name of the template build zone
TMPL_ZONE_NAME = template-build-zone
#
# The template build zone will start with 'entire' installed. We include
# additional packages to make the build zones more closely match most
# components' build requirements. This makes build zone preparation quicker.
#
#TMPL_ZONE_TOOLS += developer/gcc-3
#TMPL_ZONE_TOOLS += developer/gnu-binutils
#TMPL_ZONE_TOOLS += developer/sunstudio12u1
TMPL_ZONE_TOOLS += archiver/gnu-tar
TMPL_ZONE_TOOLS += compress/p7zip
TMPL_ZONE_TOOLS += compress/unzip
TMPL_ZONE_TOOLS += developer/build/ant
TMPL_ZONE_TOOLS += developer/build/autoconf
TMPL_ZONE_TOOLS += developer/build/automake-110
TMPL_ZONE_TOOLS += developer/build/gnu-make
TMPL_ZONE_TOOLS += developer/build/libtool
TMPL_ZONE_TOOLS += developer/build/make
TMPL_ZONE_TOOLS += developer/gnome/gettext
TMPL_ZONE_TOOLS += developer/java/jdk
TMPL_ZONE_TOOLS += developer/lexer/flex
TMPL_ZONE_TOOLS += developer/macro/cpp
TMPL_ZONE_TOOLS += developer/macro/gnu-m4
TMPL_ZONE_TOOLS += developer/object-file
TMPL_ZONE_TOOLS += developer/parser/bison
TMPL_ZONE_TOOLS += file/gnu-coreutils
TMPL_ZONE_TOOLS += file/gnu-findutils
TMPL_ZONE_TOOLS += library/libxslt
TMPL_ZONE_TOOLS += library/pcre
TMPL_ZONE_TOOLS += text/gawk
TMPL_ZONE_TOOLS += text/gnu-diffutils
TMPL_ZONE_TOOLS += text/gnu-gettext
TMPL_ZONE_TOOLS += text/gnu-grep
TMPL_ZONE_TOOLS += text/gnu-patch
TMPL_ZONE_TOOLS += text/gnu-sed
TMPL_ZONE_TOOLS += text/groff
TMPL_ZONE_TOOLS += text/texinfo
TMPL_ZONE_PKGS = $(TMPL_ZONE_TOOLS)
template-build-zone: $(BUILD_ZONE_SPACE)/$(TMPL_ZONE_NAME)/$(SYSIDCFG)
build-zone-1: $(BUILD_ZONE_SPACE)/build-zone-1/$(SYSIDCFG)
build-zone-2: $(BUILD_ZONE_SPACE)/build-zone-2/$(SYSIDCFG)
build-zone-3: $(BUILD_ZONE_SPACE)/build-zone-3/$(SYSIDCFG)
build-zone-4: $(BUILD_ZONE_SPACE)/build-zone-4/$(SYSIDCFG)
build-zone-5: $(BUILD_ZONE_SPACE)/build-zone-5/$(SYSIDCFG)
build-zone-6: $(BUILD_ZONE_SPACE)/build-zone-6/$(SYSIDCFG)
build-zone-7: $(BUILD_ZONE_SPACE)/build-zone-7/$(SYSIDCFG)
build-zone-8: $(BUILD_ZONE_SPACE)/build-zone-8/$(SYSIDCFG)
build-zone-9: $(BUILD_ZONE_SPACE)/build-zone-9/$(SYSIDCFG)
# zone install options. The template zone uses "install", while the build
# zones "clone" the template zone.
ZI_OPT = clone $(TMPL_ZONE_NAME)
$(BUILD_ZONE_SPACE)/$(TMPL_ZONE_NAME)/$(ZI_TAG): \
ZI_OPT = install $(TMPL_ZONE_PKGS:%=-e %)
$(BUILD_ZONE_SPACE):
$(MKDIR) $@
# configure a zone
$(ZONECFG_DIR)/%.xml: $(BUILD_ZONE_SPACE)
( echo "create -b"; \
echo "set zonepath=$(BUILD_ZONE_SPACE)/$(@:$(ZONECFG_DIR)/%.xml=%)"; \
echo "set brand=ipkg"; \
echo "set autoboot=false"; \
echo "verify"; \
echo "commit" ) | $(ZONECFG) -z $(@:$(ZONECFG_DIR)/%.xml=%)
# install a zone
$(BUILD_ZONE_SPACE)/%/$(ZI_TAG): $(ZONECFG_DIR)/%.xml
$(ZONEADM) -z $(@:$(BUILD_ZONE_SPACE)/%/$(ZI_TAG)=%) $(ZI_OPT)
$(BUILD_ZONE_SPACE)/%/$(SYSIDCFG): $(BUILD_ZONE_SPACE)/%/$(ZI_TAG)
( echo "system_locale=C"; \
echo "timezone=$(TZ)"; \
echo "terminal=xterms"; \
echo "security_policy=NONE"; \
echo "timeserver=localhost"; \
echo "name_service=NONE"; \
echo "network_interface=none {"; \
echo " hostname=$(@:$(BUILD_ZONE_SPACE)/%/$(SYSIDCFG)=%)"; \
echo "}"; \
echo "nfs4_domain=dynamic"; \
echo "root_password=NP" ) > $@