summaryrefslogtreecommitdiffstats
path: root/docs/BuildGuide.rst
diff options
context:
space:
mode:
authorJan Benedikt <j.benedikt@partner.samsung.com>2019-10-15 06:07:46 -0400
committerMichal Ptacek <m.ptacek@partner.samsung.com>2019-10-17 14:30:36 +0000
commit8fdbfe78282009cef8357ff31c2e5ad39ef0b059 (patch)
tree045b051ad78d16da23a01aeeee431f43db8f260e /docs/BuildGuide.rst
parent7c0f6b14776fdb1a440309a82d0025383ad14b95 (diff)
Fixing wrong dependency directory in create_repo
Improving logic of create_repo.sh script. Changed from one common path to two different paths. One path for cloned offline-installer directory and second for resources directory. Issue-ID: OOM-2136 Change-Id: I627db02594c25df172c270ea015f167ea7050ca0 Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com>
Diffstat (limited to 'docs/BuildGuide.rst')
-rw-r--r--docs/BuildGuide.rst22
1 files changed, 7 insertions, 15 deletions
diff --git a/docs/BuildGuide.rst b/docs/BuildGuide.rst
index 9b581cdf..8b0c9b28 100644
--- a/docs/BuildGuide.rst
+++ b/docs/BuildGuide.rst
@@ -110,16 +110,17 @@ Part 2. Download artifacts for offline installer
.. note:: Skip this step if you have already all necessary resources and continue with Part 3. Populate local nexus
-Before downloading artifacts with ./download.py script is necessary to create local repository with RPM packages.
-This repository is created with docker container where is downloaded and stored in ../resources/pkg/rhel directory.
+
+There need to be created RPM repository containing packages which need to be installed on all nodes.
::
- # run the docker container with actual directory of offline-installer and resources
+
+ # run the docker container with -d parameter for destination directory with RPM packages
./offline-installer/build/create_repo.sh -d $(pwd)
-.. note::
- If script fails with permissions, problem could be with SeLinux. Issue is possible to solve by:
+.. note:: If script fails with permissions, problem could be with SeLinux. Issue is possible to solve by:
::
+
# Change security context of directory
chcon -Rt svirt_sandbox_file_t $(pwd)
@@ -264,16 +265,7 @@ Appendix 1. Step-by-step download procedure
# Following step will download rke, kubectl and helm binaries
./build/download/download.py --http ./build/data_lists/infra_bin_utils.sh ../resources/downloads
-**Step 5 - rpms**
-
-::
-
- # Following step will download all rpms and create repo
- ./build/download/download.py --rpm ./build/data_lists/onap_rpm.list ../resources/pkg/rhel
-
- createrepo ../resources/pkg/rhel
-
-**Step 6 - pip packages**
+**Step 5 - pip packages**
::