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

split make file

This commit is contained in:
Jason N. 2024-03-26 18:35:39 -04:00
parent 1de61a8083
commit ff74117fac
24 changed files with 249 additions and 172 deletions

13
external/Makefile vendored Normal file
View file

@ -0,0 +1,13 @@
lorax/branch-$(VERSION):
git config advice.detachedHead false
cd lorax && git reset --hard HEAD && git checkout tags/$(shell cd lorax && git tag -l lorax-$(VERSION).* --sort=creatordate | tail -n 1)
touch lorax/branch-$(VERSION)
install-deps:
if [ "$(PACKAGE_MANAGER)" =~ apt.* ]; then $(PACKAGE_MANAGER) update; fi
# Used by external/fedora-lorax-templates/ostree-based-installer/lorax-embed-flatpaks.tmpl
$(PACKAGE_MANAGER) install -y flatpak dbus-daemon ostree
# Used to clone proper lorax branch
$(PACKAGE_MANAGER) install -y git
clean: