ci: prepare: Fix Unknown argument error on dnf5
All checks were successful
infra/dch-selinux/pipeline/head This commit looks good
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.
This commit is contained in:
@@ -11,7 +11,7 @@ dnf install -y \
|
|||||||
selinux-policy-devel \
|
selinux-policy-devel \
|
||||||
tar \
|
tar \
|
||||||
xz \
|
xz \
|
||||||
--
|
&& :
|
||||||
|
|
||||||
install -m u=rwx,go= -d "${GNUPGHOME}"
|
install -m u=rwx,go= -d "${GNUPGHOME}"
|
||||||
cat > "${GNUPGHOME}"/gpg-agent.conf <<EOF
|
cat > "${GNUPGHOME}"/gpg-agent.conf <<EOF
|
||||||
|
|||||||
Reference in New Issue
Block a user