From 7c0f6b14776fdb1a440309a82d0025383ad14b95 Mon Sep 17 00:00:00 2001 From: Jan Benedikt Date: Tue, 8 Oct 2019 10:01:41 -0400 Subject: Adding platform independent RPM download Updated onap_rpm.list with new versions of packages. Added scripts for creating centos container in docker with rpm repository. RPM repo is now created in centos container during download phase, but will work on both centos/rhel platforms. Issue-ID: OOM-2094 Signed-off-by: Jan Benedikt Change-Id: I1b5bfe99da25e6815e85b449304b12fa6036c6b3 --- docs/BuildGuide.rst | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'docs/BuildGuide.rst') diff --git a/docs/BuildGuide.rst b/docs/BuildGuide.rst index 41cfcfee..9b581cdf 100644 --- a/docs/BuildGuide.rst +++ b/docs/BuildGuide.rst @@ -110,7 +110,20 @@ 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 -It's possible to download all artifacts in single ./download.py execution. Recently we improved reliability of download scripts +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. + +:: + # run the docker container with actual directory of offline-installer and resources + ./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: + :: + # Change security context of directory + chcon -Rt svirt_sandbox_file_t $(pwd) + +It's possible to download rest artifacts in single ./download.py execution. Recently we improved reliability of download scripts so one might try following command to download most of the required artifacts in single shot. :: @@ -125,7 +138,6 @@ so one might try following command to download most of the required artifacts in --docker ./build/data_lists/onap_docker_images.list ../resources/offline_data/docker_images_for_nexus \ --git ./build/data_lists/onap_git_repos.list ../resources/git-repo \ --npm ./build/data_lists/onap_npm.list ../resources/offline_data/npm_tar \ - --rpm ./build/data_lists/onap_rpm.list ../resources/pkg/rhel \ --pypi ./build/data_lists/onap_pip_packages.list ../resources/offline_data/pypi \ --http ./build/data_lists/infra_bin_utils.list ../resources/downloads -- cgit 1.2.3-korg