mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-22 18:07:57 +00:00
ci: install libbsd dependency
The libbsd dependency is used to enable support for `setproctitle()` and `strlcpy()`. Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
This commit is contained in:
parent
48d53b6994
commit
89267dbcc8
@ -36,7 +36,7 @@ task:
|
|||||||
ln -sf /usr/include/google/protobuf/descriptor.proto images/google/protobuf/descriptor.proto
|
ln -sf /usr/include/google/protobuf/descriptor.proto images/google/protobuf/descriptor.proto
|
||||||
yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm dnf-plugins-core
|
yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm dnf-plugins-core
|
||||||
yum config-manager --set-enabled powertools
|
yum config-manager --set-enabled powertools
|
||||||
yum install -y --allowerasing asciidoc gcc git gnutls-devel libaio-devel libasan libcap-devel libnet-devel libnl3-devel libselinux-devel make protobuf-c-devel protobuf-devel python3-devel python3-flake8 python3-PyYAML python3-future python3-protobuf xmlto
|
yum install -y --allowerasing asciidoc gcc git gnutls-devel libaio-devel libasan libcap-devel libnet-devel libnl3-devel libbsd-devel libselinux-devel make protobuf-c-devel protobuf-devel python3-devel python3-flake8 python3-PyYAML python3-future python3-protobuf xmlto
|
||||||
alternatives --set python /usr/bin/python3
|
alternatives --set python /usr/bin/python3
|
||||||
systemctl stop sssd
|
systemctl stop sssd
|
||||||
# Even with selinux in permissive mode the selinux tests will be executed
|
# Even with selinux in permissive mode the selinux tests will be executed
|
||||||
@ -64,7 +64,7 @@ task:
|
|||||||
|
|
||||||
setup_script: |
|
setup_script: |
|
||||||
ln -sf /usr/include/google/protobuf/descriptor.proto images/google/protobuf/descriptor.proto
|
ln -sf /usr/include/google/protobuf/descriptor.proto images/google/protobuf/descriptor.proto
|
||||||
yum install -y findutils gcc git gnutls-devel iproute iptables libaio-devel libasan libcap-devel libnet-devel libnl3-devel make procps-ng protobuf-c-devel protobuf-devel protobuf-python python python-flake8 python-ipaddress python2-future python2-junit_xml python-yaml python-six sudo tar which e2fsprogs python2-pip rubygem-asciidoctor libselinux-devel
|
yum install -y findutils gcc git gnutls-devel iproute iptables libaio-devel libasan libcap-devel libnet-devel libnl3-devel libbsd-devel make procps-ng protobuf-c-devel protobuf-devel protobuf-python python python-flake8 python-ipaddress python2-future python2-junit_xml python-yaml python-six sudo tar which e2fsprogs python2-pip rubygem-asciidoctor libselinux-devel
|
||||||
# Even with selinux in permissive mode the selinux tests will be executed
|
# Even with selinux in permissive mode the selinux tests will be executed
|
||||||
# The Cirrus CI user runs as a service from selinux point of view and is
|
# The Cirrus CI user runs as a service from selinux point of view and is
|
||||||
# much more restricted than a normal shell (system_u:system_r:unconfined_service_t:s0)
|
# much more restricted than a normal shell (system_u:system_r:unconfined_service_t:s0)
|
||||||
|
@ -19,6 +19,7 @@ extraction:
|
|||||||
- "iproute2"
|
- "iproute2"
|
||||||
- "libcap-dev"
|
- "libcap-dev"
|
||||||
- "libaio-dev"
|
- "libaio-dev"
|
||||||
|
- "libbsd-dev"
|
||||||
- "python3-yaml"
|
- "python3-yaml"
|
||||||
- "libnl-route-3-dev"
|
- "libnl-route-3-dev"
|
||||||
- "python-future"
|
- "python-future"
|
||||||
|
@ -17,6 +17,7 @@ dnf install -y \
|
|||||||
libcap-devel \
|
libcap-devel \
|
||||||
libnet-devel \
|
libnet-devel \
|
||||||
libnl3-devel \
|
libnl3-devel \
|
||||||
|
libbsd-devel \
|
||||||
make \
|
make \
|
||||||
procps-ng \
|
procps-ng \
|
||||||
protobuf-c-devel \
|
protobuf-c-devel \
|
||||||
|
@ -37,7 +37,7 @@ setup() {
|
|||||||
vagrant ssh-config >> /root/.ssh/config
|
vagrant ssh-config >> /root/.ssh/config
|
||||||
ssh default sudo dnf upgrade -y
|
ssh default sudo dnf upgrade -y
|
||||||
ssh default sudo dnf install -y gcc git gnutls-devel nftables-devel libaio-devel \
|
ssh default sudo dnf install -y gcc git gnutls-devel nftables-devel libaio-devel \
|
||||||
libasan libcap-devel libnet-devel libnl3-devel make protobuf-c-devel \
|
libasan libcap-devel libnet-devel libnl3-devel libbsd-devel make protobuf-c-devel \
|
||||||
protobuf-devel python3-flake8 python3-future python3-protobuf \
|
protobuf-devel python3-flake8 python3-future python3-protobuf \
|
||||||
python3-junit_xml rubygem-asciidoctor iptables libselinux-devel libbpf-devel
|
python3-junit_xml rubygem-asciidoctor iptables libselinux-devel libbpf-devel
|
||||||
# Disable sssd to avoid zdtm test failures in pty04 due to sssd socket
|
# Disable sssd to avoid zdtm test failures in pty04 due to sssd socket
|
||||||
|
Loading…
x
Reference in New Issue
Block a user