Make script/config directory (#3692)
author오형석/동작제어Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com>
Mon, 26 Nov 2018 01:12:25 +0000 (10:12 +0900)
committerGitHub Enterprise <noreply-CODE@samsung.com>
Mon, 26 Nov 2018 01:12:25 +0000 (10:12 +0900)
Make script/config directory and move configuration files for script into script/config

Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
13 files changed:
scripts/command/build
scripts/command/build-acl
scripts/command/build_docker
scripts/command/configure
scripts/command/docker-run
scripts/command/docker-run-user
scripts/command/docker-shell
scripts/command/docker_gbs_build.sh
scripts/command/install
scripts/config/build.configuration [moved from scripts/build.configuration with 100% similarity]
scripts/config/docker.configuration [moved from scripts/docker.configuration with 95% similarity]
scripts/config/gbs.conf [moved from scripts/command/gbs.conf with 100% similarity]
scripts/config/image_name.configuration [moved from scripts/image_name.configuration with 100% similarity]

index e2fcb87..1e8b9b7 100644 (file)
@@ -1,7 +1,7 @@
 #!/bin/bash
 
 # NOTE 'run' sets NNFW_SCRIPT_PATH and invokes this script
-source "${NNFW_SCRIPT_PATH}/build.configuration"
+source "${NNFW_SCRIPT_PATH}/config/build.configuration"
 
 if [[ ! -d "${BUILD_ALIAS}" ]]; then
   echo "'${BUILD_ALIAS}' does not exist. Please run 'configure' first"
index 2e99cac..a995755 100644 (file)
@@ -1,7 +1,7 @@
 #!/bin/bash
 
 # NOTE 'run' sets NNFW_SCRIPT_PATH and invokes this script
-source "${NNFW_SCRIPT_PATH}/build.configuration"
+source "${NNFW_SCRIPT_PATH}/config/build.configuration"
 
 # Set parallel build
 # TODO: use argument instead of environment variable and merge with build command
index 63f1168..23bea41 100755 (executable)
@@ -29,7 +29,7 @@ do
   shift
 done
 
-source "$NNFW_SCRIPT_PATH/image_name.configuration"
+source "$NNFW_SCRIPT_PATH/config/image_name.configuration"
 
 docker build --build-arg http_proxy="$http_proxy" \
   --build-arg https_proxy="$https_proxy" \
index 2ff3c38..3b654d6 100644 (file)
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-source "${NNFW_SCRIPT_PATH}/build.configuration"
+source "${NNFW_SCRIPT_PATH}/config/build.configuration"
 
 # Set target platform using environment variable
 # TODO: use argument instead of environment variable
index c991c96..ff08819 100644 (file)
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-source "${NNFW_SCRIPT_PATH}/docker.configuration"
+source "${NNFW_SCRIPT_PATH}/config/docker.configuration"
 
 docker run $DOCKER_RUN_OPTS $DOCKER_ENV_VARS $DOCKER_VOLUMES $DOCKER_IMAGE_NAME "$@"
 EXITCODE=$?
index 448fd31..d5b74db 100644 (file)
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-source "${NNFW_SCRIPT_PATH}/docker.configuration"
+source "${NNFW_SCRIPT_PATH}/config/docker.configuration"
 
 DOCKER_RUN_OPTS+=" -u $(id -u):$(id -g)"
 
index 9f24c36..1f942ce 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-source "${NNFW_SCRIPT_PATH}/docker.configuration"
+source "${NNFW_SCRIPT_PATH}/config/docker.configuration"
 
 DOCKER_RUN_OPTS+=" -it"
 docker run $DOCKER_RUN_OPTS $DOCKER_ENV_VARS $DOCKER_VOLUMES $DOCKER_IMAGE_NAME "/bin/bash"
index c04ffe0..047d9ef 100755 (executable)
@@ -16,7 +16,7 @@ export NNFW_SCRIPT_PATH
 
 pushd $NNFW_PROJECT_PATH
 
-CMD="gbs -c ${NNFW_PROJECT_PATH}/scripts/command/gbs.conf build -A armv7l --profile=profile.tizen --clean --include-all --define '${GBS_DEFINE}' &&
+CMD="gbs -c ${NNFW_PROJECT_PATH}/scripts/config/gbs.conf build -A armv7l --profile=profile.tizen --clean --include-all --define '${GBS_DEFINE}' &&
          cp -rf /home/GBS-ROOT/local/repos/tizen/armv7l/RPMS/*.rpm ${DOCKER_RPM_HOME}/."
 source run docker-run bash -c "${CMD}"
 EXITCODE=$?
index c6631ce..a40268a 100644 (file)
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-source "${NNFW_SCRIPT_PATH}/build.configuration"
+source "${NNFW_SCRIPT_PATH}/config/build.configuration"
 
 if [[ ! -d "${BUILD_ALIAS}" ]]; then
   echo "'${BUILD_ALIAS}' does not exist. Please run 'configure' first"
similarity index 95%
rename from scripts/docker.configuration
rename to scripts/config/docker.configuration
index 5003b8c..806ffb3 100644 (file)
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-source "$NNFW_SCRIPT_PATH/image_name.configuration"
+source "$NNFW_SCRIPT_PATH/config/image_name.configuration"
 
 echo "Using docker image $DOCKER_IMAGE_NAME"