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:
parent
a65226710f
commit
aacfcdccab
1 changed files with 2 additions and 2 deletions
|
|
@ -3,7 +3,7 @@ repos: $(_REPO_FILES)
|
|||
# Step 2: Replace vars in repo files
|
||||
%.repo: /etc/yum.repos.d/%.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/\$$basearch/$(ARCH)/g" $*.repo
|
||||
|
||||
|
|
@ -13,4 +13,4 @@ FILES=$(wildcard *.repo)
|
|||
clean:
|
||||
ifneq ($(FILES),)
|
||||
rm -Rf $(FILES)
|
||||
endif
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue