From: Stoiko Ivanov <s.ivanov@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH lxc] buildsys: check for existing README in submodule
Date: Thu, 10 Sep 2020 15:27:32 +0200 [thread overview]
Message-ID: <20200910132732.4162-1-s.ivanov@proxmox.com> (raw)
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
reply other threads:[~2020-09-10 13:28 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200910132732.4162-1-s.ivanov@proxmox.com \
--to=s.ivanov@proxmox.com \
--cc=pve-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox