[pve-devel] [PATCH lxc] buildsys: check for existing README in submodule

Stoiko Ivanov s.ivanov at proxmox.com
Thu Sep 10 15:27:32 CEST 2020


lxc does not have a debian/changelog (checked also the 1.0.0 tag) by checking
for this file's existence the build resulted in always resetting the submodule
to the currently commited state.

This makes testing of a new tag a bit less comfortable (you need to commit it
before building).

Signed-off-by: Stoiko Ivanov <s.ivanov at proxmox.com>
---
sorry - forgot to add this to my previous series
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 5f44c7b..e08155e 100644
--- a/Makefile
+++ b/Makefile
@@ -19,7 +19,7 @@ all: $(DEBS)
 
 .PHONY: submodule
 submodule:
-	test -f "$(SRCDIR)/debian/changelog" || git submodule update --init
+	test -f "$(SRCDIR)/README" || git submodule update --init
 
 $(BUILDSRC): lxc debian config | submodule
 	rm -rf $(BUILDSRC)
-- 
2.20.1






More information about the pve-devel mailing list