4506N/A#
4506N/A# CDDL HEADER START
4506N/A#
4506N/A# The contents of this file are subject to the terms of the
4506N/A# Common Development and Distribution License (the "License").
4506N/A# You may not use this file except in compliance with the License.
4506N/A#
4506N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4506N/A# or http://www.opensolaris.org/os/licensing.
4506N/A# See the License for the specific language governing permissions
4506N/A# and limitations under the License.
4506N/A#
4506N/A# When distributing Covered Code, include this CDDL HEADER in each
4506N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4506N/A# If applicable, add the following below this CDDL HEADER, with the
4506N/A# fields enclosed by brackets "[]" replaced with your own identifying
4506N/A# information: Portions Copyright [yyyy] [name of copyright owner]
4506N/A#
4506N/A# CDDL HEADER END
4506N/A#
4506N/A
4506N/A#
6033N/A# Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved.
4506N/A#
4506N/A
4506N/Ainclude ../../../make-rules/shared-macros.mk
4506N/A
4506N/ACOMPONENT_NAME= ironic
6033N/ACOMPONENT_CODENAME= kilo
6033N/ACOMPONENT_VERSION= 2015.1.2
6033N/ACOMPONENT_BE_VERSION= 2015.1
4506N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
4506N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
4506N/ACOMPONENT_ARCHIVE_HASH= \
6033N/A sha256:fd85246f7c9b0976a27b863de328f1240d43d4633511cd832e8d6904f6f4b06c
4506N/ACOMPONENT_ARCHIVE_URL= http://launchpad.net/$(COMPONENT_NAME)/$(COMPONENT_CODENAME)/$(COMPONENT_VERSION)/+download/$(COMPONENT_ARCHIVE)
4506N/ACOMPONENT_PROJECT_URL= http://www.openstack.org/
4506N/ACOMPONENT_BUGDB= service/ironic
4506N/AIPS_COMPONENT_VERSION= 0.$(COMPONENT_VERSION)
4506N/A
6033N/ATPNO= 25789
4506N/A
4506N/Ainclude $(WS_MAKE_RULES)/prep.mk
4506N/Ainclude $(WS_MAKE_RULES)/setup.py.mk
4506N/Ainclude $(WS_MAKE_RULES)/ips.mk
4506N/A
4506N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
4506N/A
4506N/A# Since this is an app, and doesn't provide any public library interfaces, we
4506N/A# only need to deliver one version. The manifest is parameterized, though.
4623N/APYTHON_VERSIONS= 2.7
4506N/A
4506N/APKG_MACROS += COMPONENT_BE_VERSION=$(COMPONENT_BE_VERSION)
4506N/APKG_MACROS += PYVER=$(PYTHON_VERSIONS)
4506N/APKG_MACROS += PYV=$(shell echo $(PYTHON_VERSIONS) | tr -d .)
4506N/A
4506N/A#
6033N/A# ironic-api and ironic-conductor depend on ironic-db and ironic-upgrade so
6033N/A# copy all of the service manifests into the proto directory for
6033N/A# pkgdepend(1) to find.
4506N/A#
4506N/ACOMPONENT_POST_INSTALL_ACTION += \
6033N/A ($(MKDIR) $(PROTO_DIR)/lib/svc/manifest/application/openstack; \
6033N/A $(CP) \
6033N/A files/ironic-api.xml \
6033N/A files/ironic-conductor.xml \
6033N/A files/ironic-db.xml \
6033N/A files/ironic-upgrade.xml \
6033N/A $(PROTO_DIR)/lib/svc/manifest/application/openstack/; \
6033N/A $(MKDIR) $(PROTO_DIR)$(PYTHON_LIB)/ironic/drivers/modules; \
6033N/A $(CP) \
6033N/A files/drivers/solaris.py \
6033N/A $(PROTO_DIR)$(PYTHON_LIB)/ironic/drivers/; \
6033N/A $(CP) \
6033N/A files/drivers/modules/solaris_ipmitool.py \
6033N/A $(PROTO_DIR)$(PYTHON_LIB)/ironic/drivers/modules/; \
6033N/A $(PYTHON) -m compileall $(PROTO_DIR)/$(PYTHON_VENDOR_PACKAGES))
4506N/A
4506N/A# common targets
4506N/Abuild: $(BUILD_NO_ARCH)
4506N/A
4506N/Ainstall: $(INSTALL_NO_ARCH)
4506N/A
4506N/A#
4506N/A# Tests require:
4506N/A# hacking, coverage>=3.6, disvover, fixtures, oslo.test, psycopg2,
4506N/A# python-ironicclient, python-subunit, testrepository, testtools,
4506N/A# sphinx, sphinxcontrib, oslo.sphinx
4506N/A# Which haven't been integrated yet
4506N/A#
4506N/Atest: $(NO_TESTS)
4506N/A
4506N/A
6033N/AREQUIRED_PACKAGES += cloud/openstack/openstack-common
4506N/AREQUIRED_PACKAGES += install/installadm
6033N/AREQUIRED_PACKAGES += library/python/sqlalchemy-27
4506N/AREQUIRED_PACKAGES += shell/ksh93
4506N/AREQUIRED_PACKAGES += system/core-os
4506N/AREQUIRED_PACKAGES += system/file-system/uafs
4506N/AREQUIRED_PACKAGES += system/file-system/uvfs
6033N/AREQUIRED_PACKAGES += system/install/auto-install/auto-install-common
4506N/AREQUIRED_PACKAGES += system/management/ipmitool
4506N/AREQUIRED_PACKAGES += web/curl