1
0
Files
dch-selinux/ci/prepare.sh
Dustin C. Hatch 4261677265
All checks were successful
infra/dch-selinux/pipeline/head This commit looks good
ci: prepare: Fix Unknown argument error on dnf5
dnf5 does not recognize the `--` argument to mean "end of arguments"
like DNF 4 did.  To terminate the argument list, we need to use the "and
nothing" shell syntax.
2025-10-22 21:35:43 -05:00

20 lines
297 B
Bash

#!/bin/sh
dnf install -y \
--setopt install_weak_deps=0 \
make \
openssh-clients \
openssl-devel \
rpm-build \
rpm-sign \
rsync \
selinux-policy-devel \
tar \
xz \
&& :
install -m u=rwx,go= -d "${GNUPGHOME}"
cat > "${GNUPGHOME}"/gpg-agent.conf <<EOF
allow-loopback-pinentry
EOF