From 2802b935fdf3dba0c47b7b5d6cf7296f493c28d1 Mon Sep 17 00:00:00 2001 From: Jason Nagin <33561705+JasonN3@users.noreply.github.com> Date: Thu, 2 Jan 2025 13:43:15 -0500 Subject: [PATCH] set versions to use --- external/Makefile | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/external/Makefile b/external/Makefile index 57a84e9..892b092 100644 --- a/external/Makefile +++ b/external/Makefile @@ -1,8 +1,28 @@ -lorax/branch-$(VERSION): +lorax/branch-$(VERSION): $(if $(_RHEL),lorax/branch-rhel-$(VERSION),lorax/branch-fedora-$(VERSION)) git config advice.detachedHead false cd lorax && git reset --hard HEAD && git checkout $(if $(_RHEL),rhel$(word 1,$(subst ., ,$(VERSION)))-branch,tags/$(shell cd lorax && git tag -l lorax-$(VERSION).* --sort=creatordate | grep -v 'lorax-40\.5\|lorax-41\.7-1' | tail -n 1)) touch lorax/branch-$(VERSION) +lorax/branch-fedora-39: + git config advice.detachedHead false + cd lorax && git reset --hard HEAD && git checkout tags/lorax-39.5-1 + touch lorax/branch-fedora-39 + +lorax/branch-fedora-40: + git config advice.detachedHead false + cd lorax && git reset --hard HEAD && git checkout tags/lorax-40.9-1 + touch lorax/branch-fedora-40 + +lorax/branch-fedora-41: + git config advice.detachedHead false + cd lorax && git reset --hard HEAD && git checkout tags/lorax-41.1-1 + touch lorax/branch-fedora-41 + +lorax/branch-rhel-$(VERSION): + git config advice.detachedHead false + cd lorax && git reset --hard HEAD && git checkout rhel$(word 1,$(subst ., ,$(VERSION)))-branch + touch lorax/branch-fedora-$(VERSION) + install-deps: # Used by external/fedora-lorax-templates/ostree-based-installer/lorax-embed-flatpaks.tmpl $(install_pkg) flatpak dbus-daemon ostree