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.iva...@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



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to