10 Commits

Author SHA1 Message Date
Mariana Gonzalez
44ce0d24e9 Remove unnecessary devel packages from Dockerfile
Story:2005075
Task:29650

Change-Id: I8f2886f9b45a2ef2378f1195d60246ade1c97dd4
Signed-off-by: Mariana Gonzalez <mariana.gonzalez.velarde@intel.com>
2019-04-26 10:42:41 -05:00
Zuul
4883bee901 Merge "fix build-pkgs fail to edit tpm2-tools srpm" 2019-04-18 14:45:52 +00:00
Shuicheng Lin
5040ba46da fix build-pkgs fail to edit tpm2-tools srpm
The error message is "configure.ac:77: error: possibly undefined macro:
AC_MSG_ERROR". Add package autoconf-archive to fix it.

Closes-Bug: 1825287

Change-Id: Ia7497f5ea79f314ece8e39df8eaaafa902337e22
Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>
2019-04-18 13:19:12 +08:00
Shuicheng Lin
2878fbb578 fix build-pkgs fail to edit python-eventlet srpm
The error message is “/bin/sh: sphinx-build: command not found”.
Add python-sphinx package to fix it.

Closes-Bug: 1824932

Change-Id: Ia07421a44d9b890148f70625b4b06eea84b4a7b9
Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>
2019-04-18 10:35:31 +08:00
Erich Cordoba
e75bb2e7c3 Add notices on Intel authored files.
Story: 2005265
Task: 30095

Change-Id: I9eecbe7c0a15eec2ffe1e43964cd4253fc04b91c
Signed-off-by: Erich Cordoba <erich.cordoba.malibran@intel.com>
2019-03-20 10:21:32 -06:00
Scott Little
cf435e6c2a download_mirror.sh fails with 404 errors
The 'yum makecache' step is failing. The issue is seen when the fast
mirror plugin for yum is in use (default).

The metadata for a yum repo as scattered across several files. The
master file is repomd.xml, and it may list several supporting files,
e.g.
   filelists.xml.gz
   primary.xml.gz
   filelists.sqlite.bz2
   other.sqlite.bz2
   other.xml.gz
   primary.sqlite.bz2

When fast mirror plugin is in use, each file might download from a
separate source. This opens the door for a race condition when a repo
update is rolling out across the mirrors.

The error suggests we have already downloaded a repomd.xml, but it is
obsolete and references a supporting file that no longer exists.

A second possible source of inconsistent data is caching proxies.

Solution:
1) Disabling the yum fast cache plugin is undesirable, and there
is no option forcing metadata iof a given repo to be single sourced.
So this update adds a limited number of retries for the
'yum makecache' command.

So far we've never seen 'yum makecache' fail twice in a row... 
largely because the 'fastest mirror' plugin rarely downloaded from the
same source twice.

2) Add 'http_caching=packages' to yum.conf, which asks upstream proxies
to not cache repodata.

Change-Id: I3fa3f61e38d868fb14f4175b87c0d323abb57def
Closes-bug: 1818911
Signed-off-by: Scott Little <scott.little@windriver.com>
2019-03-13 14:32:03 +00:00
Felipe de Jesus Ruiz Garcia
2a6a96302f Add proxy env comments to Dockerfile
Behind a VPN network proxy must be required for
yum daemon.

Change-Id: I963f76c8f7977bfffd2a389f773c86cd52214ec9
Signed-off-by: Felipe de Jesus Ruiz Garcia <felipe.de.jesus.ruiz.garcia@intel.com>
2018-11-21 16:50:18 -06:00
Jerry Sun
e0aeb488a4 Add dep for golang in the build container
We would like to have dep for golang as part of the build to pull in
dependencies. This allows us to avoid checking in dependency package
in our code base and to pull in the dependencies when building.

Story:2002840

Change-Id: Ifff8dab38aebdc5638909679b7bef8128c6a84a7
Signed-off-by: Jerry Sun <jerry.sun@windriver.com>
2018-11-15 14:20:25 -05:00
slin14
e7994bec73 fix build-srpms edit failure in openssh/openldap
It is due to these packages need autoreconf support.
Add required package automake/autogen/libtool to solve it.

Closes-Bug: 1799160

Change-Id: I5c6c03a6b74e168d73f0fb054bd5ccab367e3a94
Signed-off-by: slin14 <shuicheng.lin@intel.com>
2018-11-13 23:59:33 +08:00
Mario Alfredo Carrillo Arevalo
4b4fc873b5 Add unified dockerfile
The objective of this commit is to unify the customization of
the follow docker images in one file.
- Dockerfile.centos73
- Dockerfile.centos73.TC-builder
- centos-mirror-tools/Dockerfile

This is order to create a generic StarlingX docker image, this image
should be able to handle all building process.

Furthermore this unification will reduce the instructions of the
installation guide for our end users.

Story: 2003712
Task: 226370

Change-Id: Id9b405743763be2e0d7aa37c8070c6788bc099c3
Signed-off-by: Mario Alfredo Carrillo Arevalo <mario.alfredo.c.arevalo@intel.com>
2018-09-13 10:56:11 -05:00