/
githubmirror
/
iputils
Обзор
Документация
Войти
/
githubmirror
/
iputils
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
20240905
ci/fedora.sh
34 строки
957 B
Petr Vorel
build.sh: Check output with file
16 апр 2024, 18:15
Не верифицирован
16 апр 2024, 18:15
6f22039
Код
Авторство
О чём код?
#!/bin/sh # SPDX-License-Identifier: GPL-2.0-or-later # Copyright (c) 2019-2024 Petr Vorel <petr.vorel@gmail.com> set -ex yum -y install \ clang \ file \ findutils \ gcc \ gettext \ git \ iproute \ libcap-devel \ libxslt \ make \ pkg-config if [ "$(basename $0)" = "centos.sh" ] || [ "$(basename $0)" = "rockylinux.sh" ]; then # CentOS Linux 7: libidn2-devel, meson, ninja-build are provided by EPEL # CentOS/RHEL/Rocky 8: docbook5-style-xsl is provided by EPEL yum -y install epel-release # Enable CRB (formerly PowerTools) on CentOS/RHEL/Rocky >= 8 via EPEL # CentOS/RHEL/Rocky >= 8: meson and ninja-build are provided by CRB if [ "$DISTRO_VERSION" != 7 ]; then # Update epel-release because CentOS Stream 9 ships 9-2.el9, # which is unfortunately too old to provide the crb command. dnf -y install 'dnf-command(config-manager)' epel-release crb enable fi fi yum -y install docbook5-style-xsl libidn2-devel meson ninja-build