aboutsummaryrefslogtreecommitdiff
path: root/scripts/ci/org.centos/stream/8/build-environment.yml
blob: b1768d18afac1fe514c289ab3386514139b7dbb2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
---
- name: Installation of extra packages to build QEMU
  hosts: all
  tasks:
    - name: Extra check for CentOS Stream 8
      lineinfile:
        path: /etc/redhat-release
        line: CentOS Stream release 8
        state: present
      check_mode: yes
      register: centos_stream_8

    - name: Enable EPEL repo on CentOS Stream 8
      dnf:
        name:
          - epel-release
        state: present
      when:
        - centos_stream_8

    - name: Enable PowerTools repo on CentOS Stream 8
      ini_file:
        path: /etc/yum.repos.d/CentOS-Stream-PowerTools.repo
        section: powertools
        option: enabled
        value: "1"
      when:
        - centos_stream_8

    - name: Install basic packages to build QEMU on CentOS Stream 8
      dnf:
        name:
          - bzip2
          - bzip2-devel
          - capstone-devel
          - dbus-daemon
          - device-mapper-multipath-devel
          - diffutils
          - gcc
          - gcc-c++
          - genisoimage
          - gettext
          - git
          - glib2-devel
          - glusterfs-api-devel
          - gnutls-devel
          - libaio-devel
          - libcap-ng-devel
          - libcurl-devel
          - libepoxy-devel
          - libfdt-devel
          - libgcrypt-devel
          - libiscsi-devel
          - libpmem-devel
          - librados-devel
          - librbd-devel
          - libseccomp-devel
          - libssh-devel
          - libxkbcommon-devel
          - lzo-devel
          - make
          - mesa-libEGL-devel
          - nettle-devel
          - ninja-build
          - nmap-ncat
          - numactl-devel
          - pixman-devel
          - python36
          - python3-sphinx
          - rdma-core-devel
          - redhat-rpm-config
          - snappy-devel
          - spice-glib-devel
          - spice-server-devel
          - systemd-devel
          - systemtap-sdt-devel
          - tar
          - zlib-devel
        state: present
      when:
        - centos_stream_8