1
0
Fork 0
mirror of https://github.com/JasonN3/build-container-installer.git synced 2025-12-25 10:57:55 +01:00
This commit is contained in:
Jason N. 2024-02-26 10:33:57 -05:00
parent 1e928df746
commit 44587b19af

View file

@ -42,9 +42,9 @@ lorax_templates/%.tmpl: lorax_templates/%.tmpl.in
mv $(_BASE_DIR)/lorax_templates/$*.tmpl{.tmp,} mv $(_BASE_DIR)/lorax_templates/$*.tmpl{.tmp,}
%.repo: /etc/yum.repos.d/%.repo %.repo: /etc/yum.repos.d/%.repo
cp /etc/yum.repos.d/$*.repo $(_BASE_DIR)/$(basename $*.repo) cp /etc/yum.repos.d/$*.repo $(_BASE_DIR)/$(basename $*).repo
sed -i "s/\$releasever/${VERSION}/g" $(_BASE_DIR)/$(basename $*.repo) sed -i "s/\$releasever/${VERSION}/g" $(_BASE_DIR)/$(basename $*).repo
sed -i "s/\$basearch/${ARCH}/g" $(_BASE_DIR)/$(basename $*.repo) sed -i "s/\$basearch/${ARCH}/g" $(_BASE_DIR)/$(basename $*).repo
# Step 2: Build boot.iso using Lorax # Step 2: Build boot.iso using Lorax
boot.iso: lorax_templates/set_installer.tmpl lorax_templates/configure_upgrades.tmpl fedora.repo fedora-updates.repo boot.iso: lorax_templates/set_installer.tmpl lorax_templates/configure_upgrades.tmpl fedora.repo fedora-updates.repo