* [pve-devel] [PATCH lxc] buildsys: check for existing README in submodule
@ 2020-09-10 13:27 Stoiko Ivanov
0 siblings, 0 replies; only message in thread
From: Stoiko Ivanov @ 2020-09-10 13:27 UTC (permalink / raw)
To: pve-devel
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@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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-09-10 13:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-10 13:27 [pve-devel] [PATCH lxc] buildsys: check for existing README in submodule Stoiko Ivanov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox