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

use makefiles

This commit is contained in:
Jason N. 2024-02-14 18:51:14 +00:00
parent 7e1143c0a5
commit 8b9e474a67
6 changed files with 65 additions and 34 deletions

4
lorax_templates/Makefile Normal file
View file

@ -0,0 +1,4 @@
%.tmpl:
sed -i 's/@IMAGE_NAME@/$(image_name)' $*
sed -i 's/@IMAGE_REPO@/$(image_repo)' $*
sed -i 's/@VERSION@/$(version)' $*

View file

@ -1 +1 @@
append usr/share/anaconda/interactive-defaults.ks "ostreecontainer --remote='ostree-unverified-image:docker://ghcr.io/ublue-os/base-main:39' --url=/run/install/repo/base-main-39 --transport=oci --no-signature-verification"
append usr/share/anaconda/interactive-defaults.ks "ostreecontainer --remote='ostree-unverified-image:docker://@IMAGE_REPO@/@IMAGE_NAME@:@VERSION@' --url=/run/install/repo/@IMAGE_NAME@-@VERSION@ --transport=oci --no-signature-verification"