Skip to content

Commit

Permalink
packages: Filter out SRPMs from repoquery output
Browse files Browse the repository at this point in the history
It looks like on CentOS 8, repoquery returns some
SRPMs when looking for a package dependency.
So, let's filter them out since we don't care about
these.

Refs: #2164
  • Loading branch information
alexandre-allard committed Dec 21, 2020
1 parent 49ab4e7 commit 25df68e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/redhat/common/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ download_packages() {
repoquery --queryformat="$query_format" \
--disablerepo="*" \
--enablerepo="$enabled_repos_yum" \
"${packages_to_download[@]}" | sort
"${packages_to_download[@]}" | grep -vE '\.src$' | sort
)

chown -R "$TARGET_UID:$TARGET_GID" "/repositories"
Expand Down

0 comments on commit 25df68e

Please sign in to comment.