All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] legal-info: add hash for our own license file
@ 2017-07-05 11:20 Yann E. MORIN
  2017-07-05 14:32 ` Peter Korsgaard
  0 siblings, 1 reply; 2+ messages in thread
From: Yann E. MORIN @ 2017-07-05 11:20 UTC (permalink / raw)
  To: buildroot

This silences the annoying warning that there is no hash file for our
own COPYING file.

Also change the message so that it is more obvious what we're doing.

Reported-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Luca Ceresoli <luca@lucaceresoli.net>

---
Note: the message is not properly aligned with the others, because
saving our own license file is not part of a package action.
---
 Makefile                          | 4 ++--
 support/legal-info/buildroot.hash | 2 ++
 2 files changed, 4 insertions(+), 2 deletions(-)
 create mode 100644 support/legal-info/buildroot.hash

diff --git a/Makefile b/Makefile
index 19d8b442a3..1c243b9c80 100644
--- a/Makefile
+++ b/Makefile
@@ -744,8 +744,8 @@ legal-info-clean:
 
 .PHONY: legal-info-prepare
 legal-info-prepare: $(LEGAL_INFO_DIR)
-	@$(call MESSAGE,"Collecting legal info")
-	@$(call legal-license-file,buildroot,buildroot,.,COPYING,COPYING,HOST)
+	@$(call MESSAGE,"Buildroot $(BR2_VERSION_FULL) Collecting legal info")
+	@$(call legal-license-file,buildroot,buildroot,support/legal-info,COPYING,COPYING,HOST)
 	@$(call legal-manifest,PACKAGE,VERSION,LICENSE,LICENSE FILES,SOURCE ARCHIVE,SOURCE SITE,TARGET)
 	@$(call legal-manifest,PACKAGE,VERSION,LICENSE,LICENSE FILES,SOURCE ARCHIVE,SOURCE SITE,HOST)
 	@$(call legal-manifest,buildroot,$(BR2_VERSION_FULL),GPL-2.0+,COPYING,not saved,not saved,HOST)
diff --git a/support/legal-info/buildroot.hash b/support/legal-info/buildroot.hash
new file mode 100644
index 0000000000..1b62dbeef7
--- /dev/null
+++ b/support/legal-info/buildroot.hash
@@ -0,0 +1,2 @@
+# Locally computed
+sha256 9755181e27175cb3510b4da8629caa406fb355a19aa8e7d55f06bf8ab33323c4  COPYING
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH] legal-info: add hash for our own license file
  2017-07-05 11:20 [Buildroot] [PATCH] legal-info: add hash for our own license file Yann E. MORIN
@ 2017-07-05 14:32 ` Peter Korsgaard
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2017-07-05 14:32 UTC (permalink / raw)
  To: buildroot

>>>>> "Yann" == Yann E MORIN <yann.morin.1998@free.fr> writes:

 > This silences the annoying warning that there is no hash file for our
 > own COPYING file.

 > Also change the message so that it is more obvious what we're doing.

 > Reported-by: Peter Korsgaard <peter@korsgaard.com>
 > Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
 > Cc: Luca Ceresoli <luca@lucaceresoli.net>

 > ---
 > Note: the message is not properly aligned with the others, because
 > saving our own license file is not part of a package action.

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-07-05 14:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-05 11:20 [Buildroot] [PATCH] legal-info: add hash for our own license file Yann E. MORIN
2017-07-05 14:32 ` Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.