public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jan Onderka <jonderka@redhat.com>
To: git-commits@fedoraproject.org
Subject: [tests/selinux] pr775-checkpolicy-revdeps: rpm-suppress-stderr: Drop '--installroot' from 'dnf download'
Date: Fri, 11 Sep 2026 13:22:20 GMT [thread overview]
Message-ID: <178913294032.1.9328961185744487014.tests-selinux-8519ca13a76b@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : tests/selinux
Branch : pr775-checkpolicy-revdeps
Commit : 8519ca13a76b693a2dd9cdb725995bf462b0fb2b
Author : Jan Onderka <jonderka@redhat.com>
Date : 2025-02-04T12:36:41+01:00
Stats : +1/-1 in 1 file(s)
URL : https://src.fedoraproject.org/tests/selinux/c/8519ca13a76b693a2dd9cdb725995bf462b0fb2b?branch=pr775-checkpolicy-revdeps
Log:
rpm-suppress-stderr: Drop '--installroot' from 'dnf download'
'dnf download' does not download rpm files if joined with --installroot option.
Fixes:
[ BEGIN ] :: Running 'dnf download --installroot=/tmp/tmp.Bw3ejLevcz/lower rpm-plugin-selinux selinux-policy selinux-policy-targeted '
Updating Subscription Management repositories.
Unable to read consumer identity
This system is not registered with an entitlement server. You can use subscription-manager to register.
No package rpm-plugin-selinux available.
Exiting due to strict setting.
Error: No package rpm-plugin-selinux available.
[ FAIL ] :: Command 'dnf download --installroot=/tmp/tmp.Bw3ejLevcz/lower rpm-plugin-selinux selinux-policy selinux-policy-targeted ' (Expected 0, got 1)
---
diff --git a/selinux-policy/rpm-suppress-stderr/test.sh b/selinux-policy/rpm-suppress-stderr/test.sh
index 9325a66..2fd8fd1 100755
--- a/selinux-policy/rpm-suppress-stderr/test.sh
+++ b/selinux-policy/rpm-suppress-stderr/test.sh
@@ -37,7 +37,7 @@ rlJournalStart
rlRun "dnf -y install --installroot=$tmp/lower diffutils libfdisk libselinux-utils libutempter policycoreutils util-linux rpm ${INSTALL_OPTION}"
rlRun "mkdir download"
rlRun "cd download"
- rlRun "dnf download --installroot=$tmp/lower rpm-plugin-selinux selinux-policy selinux-policy-targeted ${DOWNLOAD_OPTION}"
+ rlRun "dnf download rpm-plugin-selinux selinux-policy selinux-policy-targeted ${DOWNLOAD_OPTION}"
rlRun "mv -v *rpm $tmp/lower"
rlRun "cd .."
rlRun "fuse-overlayfs -o lowerdir=$tmp/lower/ -o upperdir=$tmp/upper/ -o workdir=$tmp/work/ $tmp/merged/"
reply other threads:[~2026-09-11 13:22 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178913294032.1.9328961185744487014.tests-selinux-8519ca13a76b@fedoraproject.org \
--to=jonderka@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox