diff --git a/packages/redhat/common/entrypoint.sh b/packages/redhat/common/entrypoint.sh index a178f1ca5a..3477d54150 100755 --- a/packages/redhat/common/entrypoint.sh +++ b/packages/redhat/common/entrypoint.sh @@ -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"