From af8cd9228533d28ad48aec6be26620db72bd0a11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Tue, 17 Mar 2015 15:05:14 +0100 Subject: [PATCH] Improve handling root.img build alone Provide separate make targets: rootimg-build (root.img) and package (make the rpm). --- Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 6574243..ab8a396 100644 --- a/Makefile +++ b/Makefile @@ -27,13 +27,17 @@ help: @echo "make update-repo-installer -- copy newly generated rpm to installer repo" @echo "make clean -- copy newly generated rpm to installer repo" +template-name: + @echo $(TEMPLATE_NAME) prepare: + @echo "Building template: $(TEMPLATE_NAME)" @echo $(TIMESTAMP) > build_timestamp_$(TEMPLATE_NAME) -rpms: prepare rootimg-build - @echo "Building template: $(TEMPLATE_NAME)" +package: ./build_template_rpm $(TEMPLATE_NAME) + +rpms: prepare rootimg-build package ./create_template_list.sh || : rootimg-build: