xref: /aosp_15_r20/external/ltp/ci/fedora.sh (revision 49cdfc7efb34551c7342be41a7384b9c40d7cab7)
1*49cdfc7eSAndroid Build Coastguard Worker#!/bin/sh -eux
2*49cdfc7eSAndroid Build Coastguard Worker# SPDX-License-Identifier: GPL-2.0-or-later
3*49cdfc7eSAndroid Build Coastguard Worker# Copyright (c) 2018-2021 Petr Vorel <[email protected]>
4*49cdfc7eSAndroid Build Coastguard Worker
5*49cdfc7eSAndroid Build Coastguard Workeryum="yum -y install --skip-broken"
6*49cdfc7eSAndroid Build Coastguard Worker
7*49cdfc7eSAndroid Build Coastguard Worker$yum \
8*49cdfc7eSAndroid Build Coastguard Worker	asciidoc \
9*49cdfc7eSAndroid Build Coastguard Worker	autoconf \
10*49cdfc7eSAndroid Build Coastguard Worker	automake \
11*49cdfc7eSAndroid Build Coastguard Worker	make \
12*49cdfc7eSAndroid Build Coastguard Worker	clang \
13*49cdfc7eSAndroid Build Coastguard Worker	gcc \
14*49cdfc7eSAndroid Build Coastguard Worker	git \
15*49cdfc7eSAndroid Build Coastguard Worker	findutils \
16*49cdfc7eSAndroid Build Coastguard Worker	iproute \
17*49cdfc7eSAndroid Build Coastguard Worker	numactl-devel \
18*49cdfc7eSAndroid Build Coastguard Worker	libtirpc \
19*49cdfc7eSAndroid Build Coastguard Worker	libtirpc-devel \
20*49cdfc7eSAndroid Build Coastguard Worker	perl-JSON \
21*49cdfc7eSAndroid Build Coastguard Worker	perl-libwww-perl \
22*49cdfc7eSAndroid Build Coastguard Worker	pkg-config \
23*49cdfc7eSAndroid Build Coastguard Worker	redhat-lsb-core
24*49cdfc7eSAndroid Build Coastguard Worker
25*49cdfc7eSAndroid Build Coastguard Worker# CentOS 8 fixes
26*49cdfc7eSAndroid Build Coastguard Worker$yum libmnl-devel || $yum libmnl
27*49cdfc7eSAndroid Build Coastguard Worker$yum rubygem-asciidoctor || true
28