tsconfig: Move scripts into tsconfig

Currently the build system automagically copies the scripts directory
into tsconfig as part of constructing the source rpm. In order to
build with OBS (for multi-os), all the files need to be in the correct
directory level, in this case update/tsconfig/tsconfig.

Correct where devstack finds the tsconfig script

Tested with current build-pkgs from clean and verified contents of
both tsconfig RPM and SRPM where correct.

Change-Id: Ib6fdf7aaad5ed91be091b7f1f63365895a8aea7d
Signed-off-by: Saul Wold <sgw@linux.intel.com>
changes/88/663088/2
Saul Wold 4 years ago
parent 319252db74
commit 9ab5317dca
  1. 2
      devstack/lib/update
  2. 1
      tsconfig/centos/build_srpm.data
  3. 0
      tsconfig/tsconfig/scripts/tsconfig

@ -58,7 +58,7 @@ function install_tsconfig {
setup_dev_lib "tsconfig"
$STX_SUDO install -d -m 755 $STX_BIN_DIR
$STX_SUDO install -p -D -m 700 $TSCONFIG_DIR/scripts/tsconfig $STX_BIN_DIR/tsconfig
$STX_SUDO install -p -D -m 700 $TSCONFIG_DIR/tsconfig/scripts/tsconfig $STX_BIN_DIR/tsconfig
}
function install_update {

@ -1,3 +1,2 @@
SRC_DIR="tsconfig"
COPY_LIST_TO_TAR="scripts"
TIS_PATCH_VER=9

Loading…
Cancel
Save