Skip to content

Commit

Permalink
Allow even more customizations
Browse files Browse the repository at this point in the history
  • Loading branch information
lslezak committed Feb 7, 2025
1 parent f7ebb02 commit 4629001
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion live/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ OBS_PROJECT = "systemsmanagement:Agama:Devel"
OBS_PACKAGE = "agama-installer"
# to use internal OBS add "OBS_API=https://api.suse.de"
OBS_API = "https://api.opensuse.org"
# default OBS build target
OBS_TARGET = "images"
ARCH = $(shell uname -m)

# files to copy from src/
COPY_FILES = $(patsubst $(SRCDIR)/%,$(DESTDIR)/%,$(wildcard $(SRCDIR)/*))
Expand Down Expand Up @@ -58,6 +61,6 @@ build: $(DESTDIR)
if [ ! -e $(DESTDIR)/.osc ]; then make clean; osc -A $(OBS_API) co -o $(DESTDIR) $(OBS_PROJECT) $(OBS_PACKAGE); fi
$(MAKE) all
# allow passing optional parameters to osc like "-p <dir>" or "-k <dir>"
(cd $(DESTDIR) && osc -A $(OBS_API) build -M $(FLAVOR) $(OSC_OPTS) images)
(cd $(DESTDIR) && osc -A $(OBS_API) build -M $(FLAVOR) $(OSC_OPTS) $(OBS_TARGET) $(ARCH) $(KIWI_FILE))

.PHONY: build all clean

0 comments on commit 4629001

Please sign in to comment.