Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion scripts/image-builder/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -245,8 +245,10 @@ reposync -n -a ${BUILD_ARCH} -a noarch --download-path openshift-local \
--repo=${OCP_REPO_NAME} \
--repo=fast-datapath-for-rhel-8-${BUILD_ARCH}-rpms >/dev/null

# Remove coreos packages to avoid conflicts
# Remove 'coreos' packages to avoid conflicts
find openshift-local -name \*coreos\* -exec rm -f {} \;
# Remove 'microshift' packages to avoid overrides from the remote repository
find openshift-local -name \*microshift\* -exec rm -f {} \;
# Exit if no RPM packages were found
if [ $(find openshift-local -name '*.rpm' | wc -l) -eq 0 ] ; then
echo "No RPM packages were found at the '${OCP_REPO_NAME}' repository. Exiting..."
Expand Down