[2/3] poky.ent: split centos-7 and centos-8

Submitted by Tim Orling on April 1, 2020, 3:19 a.m. | Patch ID: 171489

Details

Message ID 20200401031916.38433-2-timothy.t.orling@linux.intel.com
State New
Headers show

Commit Message

Tim Orling April 1, 2020, 3:19 a.m.
Update Centos-7 to require python3, not python.

CentOS-8 has different installation requirements than
either CentOS-7 or Fedora (although it is closer to
Fedora).

Allow for differentiation between CentOS versions.

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
---
 documentation/poky.ent | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

Patch hide | download patch | download mbox

diff --git a/documentation/poky.ent b/documentation/poky.ent
index b9eaea6da..742c88147 100755
--- a/documentation/poky.ent
+++ b/documentation/poky.ent
@@ -70,10 +70,18 @@ 
      diffstat makeinfo python-curses patch socat python3 python3-curses tar python3-pip \
      python3-pexpect xz which python3-Jinja2 Mesa-libEGL1 libSDL-devel xterm rpcgen
      $ sudo pip3 install GitPython">
-<!ENTITY CENTOS_HOST_PACKAGES_ESSENTIAL "-y epel-release
+<!ENTITY CENTOS7_HOST_PACKAGES_ESSENTIAL "-y epel-release
      $ sudo yum makecache
-     $ sudo yum install gawk make wget tar bzip2 gzip python unzip perl patch \
+     $ sudo yum install gawk make wget tar bzip2 gzip python3 unzip perl patch \
      diffutils diffstat git cpp gcc gcc-c++ glibc-devel texinfo chrpath socat \
      perl-Data-Dumper perl-Text-ParseWords perl-Thread-Queue python36-pip xz \
      which SDL-devel xterm
      $ sudo pip3 install GitPython jinja2">
+<!ENTITY CENTOS8_HOST_PACKAGES_ESSENTIAL "-y epel-release
+     $ sudo dnf config-manager --set-enabled PowerTools
+     $ sudo dnf makecache
+     $ sudo dnf install gawk make wget tar bzip2 gzip python3 unzip perl patch \
+     diffutils diffstat git cpp gcc gcc-c++ glibc-devel texinfo chrpath ccache \
+     socat perl-Data-Dumper perl-Text-ParseWords perl-Thread-Queue python3-pip \
+     python3-GitPython python3-jinja2 python3-pexpect xz which SDL-devel xterm \
+     rpcgen">