mirror of
https://github.com/JasonN3/build-container-installer.git
synced 2025-12-25 10:57:55 +01:00
fix path
This commit is contained in:
parent
bd900ad69d
commit
256494b9bf
1 changed files with 3 additions and 3 deletions
6
Makefile
6
Makefile
|
|
@ -45,9 +45,9 @@ lorax_templates/%.tmpl: lorax_templates/%.tmpl.in
|
|||
# Step 2: Replace vars in repo files
|
||||
repos/%.repo: /etc/yum.repos.d/%.repo
|
||||
mkdir repos || true
|
||||
cp /etc/yum.repos.d/$*.repo $(_BASE_DIR)/$*.repo
|
||||
sed -i "s/\$$releasever/${VERSION}/g" $(_BASE_DIR)/$*.repo
|
||||
sed -i "s/\$$basearch/${ARCH}/g" $(_BASE_DIR)/$*.repo
|
||||
cp /etc/yum.repos.d/$*.repo $(_BASE_DIR)/repos/$*.repo
|
||||
sed -i "s/\$$releasever/${VERSION}/g" $(_BASE_DIR)/repos/$*.repo
|
||||
sed -i "s/\$$basearch/${ARCH}/g" $(_BASE_DIR)/repos/$*.repo
|
||||
|
||||
# Don't do anything for custom repos
|
||||
%.repo:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue