mirror of
https://github.com/JasonN3/build-container-installer.git
synced 2025-12-25 02:47:56 +01:00
Split Makfile and move workflow to Makefile (#88)
Co-authored-by: codacy-production[bot] <61871480+codacy-production[bot]@users.noreply.github.com>
This commit is contained in:
parent
662f1a94e4
commit
b669420287
40 changed files with 800 additions and 665 deletions
15
repos/Makefile
Normal file
15
repos/Makefile
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
repos: $(_REPO_FILES)
|
||||
|
||||
# Step 2: Replace vars in repo files
|
||||
%.repo: /etc/yum.repos.d/%.repo
|
||||
cp /etc/yum.repos.d/$*.repo $*.repo
|
||||
sed -i "s/\$$releasever/$(VERSION)/g" $*.repo
|
||||
sed -i "s/\$$basearch/$(ARCH)/g" $*.repo
|
||||
|
||||
install-deps:
|
||||
|
||||
FILES=$(wildcard *.repo)
|
||||
clean:
|
||||
ifneq ($(FILES),)
|
||||
rm -Rf $(FILES)
|
||||
endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue