1
0
Fork 0
mirror of https://github.com/JasonN3/build-container-installer.git synced 2025-12-25 02:47:56 +01:00

update ubi version

This commit is contained in:
Jason N 2024-04-11 14:12:48 -04:00 committed by GitHub
parent a65226710f
commit aacfcdccab
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3,7 +3,7 @@ repos: $(_REPO_FILES)
# Step 2: Replace vars in repo files # Step 2: Replace vars in repo files
%.repo: /etc/yum.repos.d/%.repo %.repo: /etc/yum.repos.d/%.repo
cp /etc/yum.repos.d/$*.repo $*.repo cp /etc/yum.repos.d/$*.repo $*.repo
$(if $(findstring redhat,$*),sed -i "s/rhel8/rhel$(word 1,$(subst ., ,$(VERSION)))/g" $*.repo) $(if $(findstring redhat,$*),sed -i "s/rhel9/rhel$(word 1,$(subst ., ,$(VERSION)))/g" $*.repo)
sed -i "s/\$$releasever/$(VERSION)/g" $*.repo sed -i "s/\$$releasever/$(VERSION)/g" $*.repo
sed -i "s/\$$basearch/$(ARCH)/g" $*.repo sed -i "s/\$$basearch/$(ARCH)/g" $*.repo