Relocated some packages to repo 'utilities'
List of relocated subdirectories: ceph/ceph-manager ceph/python-cephclient filesystem/nfscheck logging/logmgmt security/tpm2-openssl-engine security/wrs-ssl tools/collector tools/engtools/hostdata-collectors utilities/build-info utilities/namespace-utils utilities/pci-irq-affinity-agent utilities/platform-util utilities/tis-extensions utilities/update-motd Story: 2006166 Task: 35687 Depends-On: I665dc7fabbfffc798ad57843eb74dca16e7647a3 Change-Id: I2bf543a235507a4eff644a7feabd646a99d1474f Signed-off-by: Scott Little <scott.little@windriver.com> Depends-On: I85dda6d09028f57c1fb0f96e4bcd73ab9b9550be Signed-off-by: Scott Little <scott.little@windriver.com>
This commit is contained in:
@@ -19,8 +19,6 @@ set -o xtrace
|
||||
|
||||
STXINTEG_DIR=${GITDIR[$STX_INTEG_NAME]}
|
||||
|
||||
PLATFORM_UTIL_DIR=$STXINTEG_DIR/utilities/platform-util
|
||||
|
||||
# STX_INST_DIR should be a non-root-writable place to install build artifacts
|
||||
STX_INST_DIR=${STX_INST_DIR:-/usr/local}
|
||||
STX_BIN_DIR=${STX_BIN_DIR:-$STX_INST_DIR/bin}
|
||||
@@ -49,34 +47,7 @@ function init_integ {
|
||||
|
||||
function install_integ {
|
||||
# Install the service
|
||||
if is_service_enabled platform-util; then
|
||||
install_platform_util
|
||||
fi
|
||||
}
|
||||
|
||||
function install_platform_util {
|
||||
pushd $PLATFORM_UTIL_DIR/platform-util
|
||||
sudo python setup.py install \
|
||||
--root=/ \
|
||||
--install-lib=$PYTHON_SITE_DIR \
|
||||
--prefix=/usr \
|
||||
--install-data=/usr/share \
|
||||
--single-version-externally-managed
|
||||
popd
|
||||
|
||||
local systemddir=/etc/systemd
|
||||
$STX_SUDO install -m 755 -d ${STX_SBIN_DIR}
|
||||
$STX_SUDO install -m 755 $PLATFORM_UTIL_DIR/scripts/patch-restart-mtce ${STX_SBIN_DIR}
|
||||
$STX_SUDO install -m 755 $PLATFORM_UTIL_DIR/scripts/patch-restart-processes ${STX_SBIN_DIR}
|
||||
$STX_SUDO install -m 755 $PLATFORM_UTIL_DIR/scripts/patch-restart-haproxy ${STX_SBIN_DIR}
|
||||
|
||||
$STX_SUDO install -m 755 $PLATFORM_UTIL_DIR/scripts/cgcs_tc_setup.sh ${STX_BIN_DIR}
|
||||
$STX_SUDO install -m 755 $PLATFORM_UTIL_DIR/scripts/remotelogging_tc_setup.sh ${STX_BIN_DIR}
|
||||
$STX_SUDO install -m 755 $PLATFORM_UTIL_DIR/scripts/connectivity_test ${STX_BIN_DIR}
|
||||
|
||||
# sudo install -m 755 $PLATFORM_UTIL_DIR/scripts/opt-platform.mount ${systemddir}/system
|
||||
# sudo install -m 755 $PLATFORM_UTIL_DIR/scripts/opt-platform.service ${systemddir}/system
|
||||
# sudo install -m 755 $PLATFORM_UTIL_DIR/scripts/memcached.service ${systemddir}/system
|
||||
:
|
||||
}
|
||||
|
||||
function start_integ {
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
# https://docs.openstack.org/devstack/latest/plugins.html#plugin-sh-contract
|
||||
|
||||
# Services
|
||||
# platform-util
|
||||
|
||||
# Defaults
|
||||
# --------
|
||||
|
||||
Reference in New Issue
Block a user