All checks were successful
infra/dch-selinux/pipeline/head This commit looks good
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.
20 lines
297 B
Bash
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
|